Difference between revisions of "Systemctl status docker"

From wikieduonline
Jump to navigation Jump to search
 
(3 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)
 
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Line 43: Line 43:
 
  System has not been booted with systemd as init system (PID 1). Can't operate.
 
  System has not been booted with systemd as init system (PID 1). Can't operate.
 
  Failed to connect to bus: Host is down
 
  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 ==

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

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]

Advertising: