docker update

From wikieduonline
Jump to navigation Jump to search

docker update update configuration of one or more containers. ref

docker update --restart=always CONTAINER_NAME [1]
docker update --restart=no CONTAINER_NAME
docker update --cpus


Modify all containers to not start automatically:

docker update --restart=no $(docker container ls -aq)

Related commands[edit]

docker images |grep -v REPOSITORY|awk '{print $1}'|xargs -L1 docker pull (See also: docker-compose pull)

Activities[edit]

Related[edit]

See also[edit]

  • https://docs.docker.com/engine/reference/commandline/update/
  • Advertising: