Difference between revisions of "Systemctl status docker"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
<pre>
+
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)
  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
  Active: active (running) since Tue 2020-01-21 04:53:04 UTC; 31min ago
+
      Docs: https://docs.docker.com
    Docs: https://docs.docker.com
+
  [[Main PID]]: 30469 (dockerd)
Main PID: 30469 (dockerd)
+
    Tasks: 178
    Tasks: 178
+
    CGroup: /system.slice/docker.service
  CGroup: /system.slice/docker.service
+
            ├─  656 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port  
          ├─  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
+
8084 -container-ip 172.20.0.20 -container-port 8080
          ├─30469 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
+
            ├─30469 /usr/bin/dockerd -H fd:// -- containerd=/run/containerd/containerd.sock
 
.../...
 
.../...
</pre>
 
  
  

Revision as of 16:49, 11 July 2023

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

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

Related commands

See also

Advertising: