大家好,centos7上安装docker,启动服务出现问题,
网上说可以设置docker加速,我是从阿里云获取的加速地址,将daemon.json修改后报这个错,不知该怎么办了?谢谢您的指导!
[root@localhost docker]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/etc/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 四 2018-04-26 19:49:07 CST; 9s ago
Docs: http://docs.docker.com
Process: 4820 ExecStart=/usr/bin/dockerd --registry-mirror=<https://oprfsjwu.mirror.aliyuncs.com>-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --seccomp-profile=/etc/docker/seccomp.json $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)
Main PID: 4820 (code=exited, status=1/FAILURE)
4月 26 19:49:07 localhost.localdomain dockerd[4820]: --tlskey string Path to TLS key file (default "/etc/docker/key.pem")
4月 26 19:49:07 localhost.localdomain dockerd[4820]: --tlsverify Use TLS and verify the remote
4月 26 19:49:07 localhost.localdomain dockerd[4820]: --userland-proxy Use userland proxy for loopback traffic (default true)
4月 26 19:49:07 localhost.localdomain dockerd[4820]: --userland-proxy-path string Path to the userland proxy binary
4月 26 19:49:07 localhost.localdomain dockerd[4820]: --userns-remap string User/Group setting for user namespaces
4月 26 19:49:07 localhost.localdomain dockerd[4820]: -v, --version Print version information and quit
4月 26 19:49:07 localhost.localdomain dockerd[4820]: Run 'dockerd COMMAND --help' for more information on a command.
4月 26 19:49:07 localhost.localdomain dockerd[4820]: , Code: 125
4月 26 19:49:07 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
4月 26 19:49:07 localhost.localdomain systemd[1]: docker.service failed.