[Solved] Job for docker.service failed because the control process exited with error code. After changing the docker configuration

( 1) Change       Cnetos7 managed startup file   , When the configuration service starts, does the daemon use the    Some profiles

vim /usr/lib/systemd/system/docker.service

[ Service]

ExecStart=/usr/bin/dockerd            # delete  – After H (including)   All content

(2) There is a problem with the configuration of daemon.json
Look carefully. What’s wrong

I didn’t write that before   ,   number

{    # Turn on remote connection
” hosts”: [” tcp:// :2375″,”unix:///var/run/docker.sock”],

#  Image acceleration (write your own, alicloud, don’t write it)
” registry-mirrors”: [“https://*******.mirror.aliyuncs.com”]


systemctl   daemon-reload

systemctl   start   docker
Wait for the startup to succeed,

ss -anput  | grep  : two thousand three hundred and seventy-five      Display, port open

Read More: