Difference between revisions of "Systemctl status docker"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | systemctl status [[docker]] | |
− | systemctl status docker | + | ● docker.service - Docker Application Container Engine |
− | ● docker.service - Docker Application Container Engine | + | Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) |
− | + | Active: active (running) since Tue 2020-01-21 04:53:04 UTC; 31min ago | |
− | + | Docs: https://docs.docker.com | |
− | + | [[Main PID]]: 30469 (dockerd) | |
− | + | Tasks: 178 | |
− | + | CGroup: /system.slice/docker.service | |
− | + | ├─ 656 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port | |
− | + | 8084 -container-ip 172.20.0.20 -container-port 8080 | |
− | + | ├─30469 /usr/bin/dockerd -H fd:// -- containerd=/run/containerd/containerd.sock | |
.../... | .../... | ||
− | |||
Line 39: | Line 38: | ||
└─1889 containerd --config /var/run/docker/containerd/containerd.toml --log-level info | └─1889 containerd --config /var/run/docker/containerd/containerd.toml --log-level info | ||
</pre> | </pre> | ||
+ | |||
+ | == Windows == | ||
+ | [[systemctl status]] docker | ||
+ | System has not been booted with systemd as init system (PID 1). Can't operate. | ||
+ | Failed to connect to bus: Host is down | ||
+ | |||
+ | == Errors == | ||
+ | [[WARNING: Published ports are discarded when using host network mode]] | ||
== Related commands == | == Related commands == | ||
* <code>[[systemctl start docker]]</code> | * <code>[[systemctl start docker]]</code> | ||
* <code>[[journalctl]]</code> | * <code>[[journalctl]]</code> | ||
+ | * <code>[[systemctl restart docker]]</code> | ||
== See also == | == See also == | ||
+ | * {{dockerd}} | ||
* {{docker}} | * {{docker}} | ||
* [[docker-proxy]] | * [[docker-proxy]] |
Latest revision as of 13:13, 15 March 2024
systemctl status docker ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2020-01-21 04:53:04 UTC; 31min ago Docs: https://docs.docker.com Main PID: 30469 (dockerd) Tasks: 178 CGroup: /system.slice/docker.service ├─ 656 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8084 -container-ip 172.20.0.20 -container-port 8080 ├─30469 /usr/bin/dockerd -H fd:// -- containerd=/run/containerd/containerd.sock
.../...
systemctl status docker ● docker.service Loaded: masked (Reason: Unit docker.service is masked.) Active: inactive (dead) since Sun 2020-07-12 15:17:26 +04; 14min ago Main PID: 2134 (code=exited, status=0/SUCCESS)
systemctl status docker ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Active: active (running) since Wed 2020-10-21 13:11:30 UTC; 39min ago TriggeredBy: ● docker.socket Docs: https://docs.docker.com Main PID: 1332 (dockerd) Tasks: 46 (limit: 38435) Memory: 761.6M CGroup: /system.slice/docker.service ├─1332 /usr/bin/dockerd --host=fd:// --exec-opt native.cgroupdriver=systemd --selinux-enabled --log-driver=journald --storage-driver=overlay2 --live-restore --default-ulimit nofile=1024:1024 --init-path /usr/libexec/docker/d> └─1889 containerd --config /var/run/docker/containerd/containerd.toml --log-level info
Contents
Windows[edit]
systemctl status docker System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
Errors[edit]
WARNING: Published ports are discarded when using host network mode
Related commands[edit]
See also[edit]
- Docker: dockerd, docker (command), dockerd-ce (dockerd), docker-proxy, Docker Kubernetes Service (DKS),
/var/lib/docker/, /var/run/docker.sock
, 9323, /etc/docker/daemon.json - 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
- docker-proxy
Advertising: