Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

容器的更新 #6

Open
CoderIvan opened this issue Apr 4, 2020 · 2 comments
Open

容器的更新 #6

CoderIvan opened this issue Apr 4, 2020 · 2 comments

Comments

@CoderIvan
Copy link
Owner

CoderIvan commented Apr 4, 2020

运行中的容器,当镜像更新时,如何保持配置不变的情况下更新容器

@CoderIvan
Copy link
Owner Author

如何容器是使用Docker Service运行的

  • 可以通过docker rm xxx来让Docker使用新镜像重启容器

@CoderIvan
Copy link
Owner Author

可以通过docker update xxx --force 强制docker service更新

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

No branches or pull requests

1 participant