Docker Server Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
* [[Docker_Concepts#The_Docker_Server|Docker Concepts - Server]]
* [[Docker_Concepts#The_Docker_Server|Docker Concepts - Server]]
* [[Docker Operations]]
* [[Docker Operations]]
=Start=
Use <tt>dockerd</tt>, which is the utility to start the Docker in daemon mode.


=Enable at Boot=
=Enable at Boot=
Line 14: Line 10:
systemctl start docker
systemctl start docker
</pre>
</pre>
=Start=
Use <tt>dockerd</tt>, which is the utility to start the Docker in daemon mode.
<pre>
[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
</pre>
=Troubleshooting=

Revision as of 21:29, 4 April 2017

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