docker-update

update Update configuration of Docker containers. This command is not…

docker update

Update configuration of Docker containers. This command is not supported for Windows containers. More information: https://docs.docker.com/engine/reference/commandline/update/.

docker update --restart={{always|no|on-failure|unless-stopped}} {{container_name}}

docker update --restart=on-failure:3 {{container_name}}

docker update --cpus {{count}} {{container_name}}

docker update --memory {{limit}}M {{container_name}}

docker update --pids-limit {{count}} {{container_name}}

docker update --memory-swap {{limit}}M {{container_name}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← docker-tag docker-volume →