Home > other >  Modify the daemon. Json configuration private warehouse, after restart the docker failure
Modify the daemon. Json configuration private warehouse, after restart the docker failure

Time:10-15

Problem description:
Changes the daemon. Add json insecure - registries configuration items after good private warehouse configuration, restart the docker failure
The error log:
Docker - current [2768] : unable to configure the docker daemon with the file/etc/docker/daemon. Json: the following directives don 't match any configuration option: insecure - registries
Docker version:
/root @ build - XXX ~ # docker version 
Client:
Version: 1.10.3
API version: 1.22
Package version: docker - common - 1.10.3-59. El7. Centos. X86_64
Go version: go1.6.3
Git commit: 3999 CCB - unsupported
Built: Thu Dec 15 17:24:43 2016
OS/Arch: Linux/amd64
Always connect to the Docker daemon. All the Docker daemon running on this host?


CodePudding user response:

Docker version is too old, a lot of configuration and grammar is different, change a source download docker 18,

CodePudding user response:

Reference links: https://www.cnblogs.com/cocowool/p/docker_daemon_log_driver.html

Docker for error: Failed to start docker Application Container Engine. - Jane books
https://www.jianshu.com/p/e637b217e9c8

CodePudding user response:

Need to upgrade docker, refer to https://www.bookstack.cn/read/HyperApp-guide/zh-centos-upgrade-docker.md
  • Related