Difference between revisions of "Docker ps"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 16: | Line 16: | ||
docker ps | docker ps | ||
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? | Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? | ||
+ | |||
+ | |||
+ | docker ps | ||
+ | Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial | ||
+ | unix /var/run/docker.sock: connect: permission denied | ||
== Related commands == | == Related commands == |
Revision as of 10:50, 30 March 2021
docker ps
list containers
docker ps
list containers
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b505ff9b5560 gitlab/gitlab-ee:11.3.1-ee.0 "/assets/wrapper" 6 days ago Up 25 seconds (health: starting) 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:5001->5001/tcp, 0.0.0.0:2224->22/tcp gitlab-web
docker ps -a
docker ps -a -q
docker ps Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
docker ps Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied
Related commands
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: