Heim > Fragen und Antworten > Hauptteil
Redhat Enterprise 7 /CentOS-7
启动docker报错如下
sudo service docker start
Redirecting to /bin/systemctl start docker.service
Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.
但使用sudo docker -d 可以启动
[rickqi@rickqi ~]$ sudo docker -d
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
ERRO[0000] WARNING: No --storage-opt dm.thinpooldev specified, using loopback; this configuration is strongly discouraged for production use
INFO[0000] [graphdriver] using prior storage driver "devicemapper"
WARN[0000] Running modprobe bridge nf_nat br_netfilter failed with message: , error: exit status 1
INFO[0000] Firewalld running: true
INFO[0000] Loading containers: start.
.............................................................
INFO[0000] Loading containers: done.
INFO[0000] Daemon has completed initialization
INFO[0000] Docker daemon commit=446ad9b/1.7.1 execdriver=native-0.2 graphdriver=devicemapper version=1.7.1