To show only running containers:
docker ps
or
docker container ps
To show all containers:
docker ps -a
or
docker container ps -a
To show the latest created container (includes all states):
docker ps -l
To show n last created containers (includes all states):
docker ps -n=-1
To display total file sizes:
docker ps -s
Start a docker container:
docker start <container>
E.g.
docker start postgres-95
References (Deprecated):
- heartin's blog
- Log in or register to post comments
Recent comments