Difference between revisions of "Docker update"
Jump to navigation
Jump to search
↑ https://docs.docker.com/engine/reference/commandline/update/
↑ https://docs.docker.com/engine/reference/commandline/update/
Line 3: | Line 3: | ||
:<code>[[docker update]] --restart=always CONTAINER_NAME</code> <ref>https://docs.docker.com/engine/reference/commandline/update/</ref> | :<code>[[docker update]] --restart=always CONTAINER_NAME</code> <ref>https://docs.docker.com/engine/reference/commandline/update/</ref> | ||
− | + | :<code>[[docker update]] --restart=no CONTAINER_NAME</code> | |
Revision as of 16:10, 4 February 2020
This article is a Draft. Help us to complete it.
Update configuration of one or more containers. [1]
docker update --restart=always CONTAINER_NAME
[2]docker update --restart=no CONTAINER_NAME
Related commands
docker pull
- Update all your local images:
docker images |grep -v REPOSITORY|awk '{print $1}'|xargs -L1 docker pull
(See also:docker-compose pull
)
Activities
See also
- Docker images management:
docker images
,docker image
,docker image inspect
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: