Docker Server Operations: Difference between revisions
Jump to navigation
Jump to search
(→Start) |
|||
Line 23: | Line 23: | ||
==systemd== | ==systemd== | ||
<pre> | |||
systemctl start docker | |||
</pre> | |||
< | A docker server running as root: | ||
<pre> | |||
root 665 1 0 16:00 ? 00:00:02 /usr/bin/dockerd | |||
root 749 665 0 16:00 ? 00:00:01 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-containerd-shim --runtime docker-runc | |||
</pre> | |||
==init.d== | ==init.d== |
Revision as of 23:43, 25 April 2017
Internal
Relevance
- Docker 17.03.1-ce
Enable at Boot
systemd
systemctl enable docker systemctl start docker
init.d
Start
systemd
systemctl start docker
A docker server running as root:
root 665 1 0 16:00 ? 00:00:02 /usr/bin/dockerd root 749 665 0 16:00 ? 00:00:01 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-containerd-shim --runtime docker-runc
init.d
As root:
system docker start