Editing Docker update
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{Draft}} |
− | + | Update configuration of one or more containers. <ref>https://docs.docker.com/engine/reference/commandline/update/</ref> | |
− | :<code>[[docker]] | + | :<code>[[docker update]] --restart=always CONTAINER_NAME</code> <ref>https://docs.docker.com/engine/reference/commandline/update/</ref> |
− | :<code>[[docker]] | + | :<code>[[docker update]] --restart=no CONTAINER_NAME</code> |
Line 14: | Line 14: | ||
* <code>[[docker start]]</code> | * <code>[[docker start]]</code> | ||
* <code>[[docker stop]]</code> | * <code>[[docker stop]]</code> | ||
− | * Update all your local images: | + | * Update all your local images: <code>docker images |grep -v REPOSITORY|awk '{print $1}'|xargs -L1 docker pull</code> (See also: <code>[[docker-compose pull]]</code>) |
− | |||
== Activities == | == Activities == | ||
Line 22: | Line 21: | ||
== See also == | == See also == | ||
− | |||
* {{docker images management}} | * {{docker images management}} | ||
* {{docker}} | * {{docker}} | ||
[[Category:Docker]] | [[Category:Docker]] |
Advertising: