Unable to start docker service after daemon.json file is created

Hi Team,

I have created daemon.json file and when i start the systemctl start docker, i am getting the below error, the file is created with the correct options can u please help me to resolve the issue:

{
“debug”: true,
“host”: [“tcp://192.168.1.10:2376”],
“tls”: true,
“tlscert”: “/var/docker/server.pem”,
“tlskey”: “/var/docker/serverkey.pem”,

}

I have gave the permission to daemon.json file with write and execute right but still facing the same issue.

Can you please help me to resolve this issue.

Thanks and Regards
Sunil Kirangi

Also if i remove the file and restart the docker its working fine for me.

Created new file as well with below parameters:
{
“debug”: true,
“tls”: true,
“tlscert”: “/var/docker/server.pem”,
“tlskey”: “/var/docker/serverkey.pem”,
“hosts”: [“tcp://192.168.222.4:2376”]
}

Hi KK Team,

Anyone who know to figure out this issue and i dont see any reply on this one.

Can you please let me know and i am not able to go next topic.

Can you please provide the name of the lab…

Hi Tgp,
I dont have the lab information as i was trying this option in my machine.

Where i have installed Centos 7 and installed the docker package in the host.

Is that something related to config file of daemon.

Thanks and Regards
Sunil Kirangi