Difference between revisions of "Docker start"
Jump to navigation
Jump to search
(40 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
+ | <code>[[docker]] start</code> start one or more stopped [[containers]] [https://docs.docker.com/engine/reference/commandline/start/ man] | ||
+ | * <code>docker start CONTAINER_NAME</code> | ||
+ | * <code>[[docker start -i]] CONTAINER_NAME</code> | ||
+ | * <code>[[docker start --help]]</code> | ||
− | |||
+ | * <code>docker start $(docker ps -a -q -f status=exited)</code> | ||
+ | * <code><nowiki>docker inspect -f "{{ .HostConfig.RestartPolicy}}" $(docker ps -a -q)</nowiki></code> | ||
− | + | ||
− | * <code>[[docker container | + | * <code>[[docker update]] --restart=no $([[docker container]] ls -aq)</code> |
+ | |||
+ | |||
+ | [[docker start]] my-nginx | ||
+ | Error response from daemon: driver failed programming external connectivity on endpoint my-nginx (395445d55007ad8e495498f7d0782a0a2311d2cfb25de0f1871e10bdfb445969): Error starting userland proxy: listen tcp 0.0.0.0:80: | ||
+ | bind: [[address already in use]] | ||
+ | Error: failed to start containers: my-nginx | ||
− | == | + | == Related == |
− | + | * <code>[[docker stop]]</code> | |
+ | * <code>[[docker service]]</code> ([[swarm]] mode) | ||
+ | * <code>[[docker container start]]</code> | ||
+ | * <code>[[docker ps|docker ps -a]]</code> | ||
+ | * <code>[[docker run]]</code> | ||
+ | * <code>[[docker update]]</code> | ||
+ | * <code>[[docker exec]]</code> | ||
+ | * <code>[[docker rm]]</code> | ||
+ | * <code>[[lxc launch]]</code> | ||
+ | * <code>[[podman start]]</code> | ||
+ | * <code>[[systemctl start docker]]</code> | ||
+ | * <code>[[docker-compose.yml]]</code> | ||
+ | == Activities == | ||
+ | # Understand [[Start configuration behavior and restart policy]] (<code>[[docker update]]</code>) | ||
== See also == | == See also == | ||
− | * {{docker}} | + | * {{docker run}} |
+ | * {{docker start}} | ||
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 11:51, 10 October 2024
docker start
start one or more stopped containers man
docker start CONTAINER_NAME
docker start -i CONTAINER_NAME
docker start --help
docker start $(docker ps -a -q -f status=exited)
docker inspect -f "{{ .HostConfig.RestartPolicy}}" $(docker ps -a -q)
docker update --restart=no $(docker container ls -aq)
docker start my-nginx Error response from daemon: driver failed programming external connectivity on endpoint my-nginx (395445d55007ad8e495498f7d0782a0a2311d2cfb25de0f1871e10bdfb445969): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use Error: failed to start containers: my-nginx
Related[edit]
docker stop
docker service
(swarm mode)docker container start
docker ps -a
docker run
docker update
docker exec
docker rm
lxc launch
podman start
systemctl start docker
docker-compose.yml
Activities[edit]
See also[edit]
docker run [ -it | -d -it | --mount | --volume | --name | --env | --publish | --rm | --help ]
docker start
,docker start --help
Advertising: