Skip to content

containers/docker: restart containers instead of recreating#83

Open
brianneville wants to merge 1 commit into
openconfig:masterfrom
brianneville:simple-restart
Open

containers/docker: restart containers instead of recreating#83
brianneville wants to merge 1 commit into
openconfig:masterfrom
brianneville:simple-restart

Conversation

@brianneville

Copy link
Copy Markdown
Contributor

Rather than removing the container and then recreating it, we can just call StartContainer on the container again.
This is in line with what docker restart does.
If the writeable layer of the container needs to be recreated, the container can be removed using the
RemoveContainer RPC and then recreated with StartContainer RPC.

rather than removing the container and then recreating it, we
can just call StartContainer on the container again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant