Docker Server Operations

From NovaOrdis Knowledge Base
Revision as of 21:29, 4 April 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Enable at Boot

systemctl enable docker
systemctl start docker

Start

Use dockerd, which is the utility to start the Docker in daemon mode.

[root@docker-server run]# dockerd
INFO[0000] libcontainerd: new containerd process, pid: 7369
WARN[0000] containerd: low RLIMIT_NOFILE changing to max  current=1024 max=4096
INFO[0000] [graphdriver] using prior storage driver: overlay
INFO[0000] Graph migration to content-addressability took 0.00 seconds
INFO[0000] Loading containers: start.
INFO[0000] Firewalld running: false
INFO[0000] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address
INFO[0000] Loading containers: done.
INFO[0000] Daemon has completed initialization
INFO[0000] Docker daemon                                 commit=c6d412e graphdriver=overlay version=17.03.1-ce
INFO[0000] API listen on /var/run/docker.sock

Troubleshooting