Difference between revisions of "Docker start"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
* <code>docker start $(docker ps -a -q -f status=exited)</code> | * <code>docker start $(docker ps -a -q -f status=exited)</code> | ||
− | * <nowiki>[[docker inspect]] -f "{{ .HostConfig.RestartPolicy}}" $(docker ps -a -q)</nowiki> | + | * <code><nowiki>[[docker inspect]] -f "{{ .HostConfig.RestartPolicy}}" $(docker ps -a -q)</nowiki></code> |
Revision as of 15:08, 19 July 2022
docker start
start one or more stopped containers
docker start CONTAINER_NAME
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 commands
docker stop
docker service
(swarm mode)docker container start
docker ps -a
docker run
docker update
- lxc launch
- podman start
Activitities
See also
- 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: