How to configure my Docker daemon

0 votes

I have created a file at /etc/docker/daemon.json on my Linux machine. Here is what my docker daemon configuration file looks like.

  "debug": true,
  "tls": true,
  "tlscert": "/var/docker/server.pem",
  "tlskey": "/var/docker/serverkey.pem",
  "hosts": ["tcp://"]
 I was wondering that how can I manually start the Docker daemon, using the same configurations as above:
Can anyone resolve my query?
Dec 22, 2018 in DevOps & Agile by shubham
• 7,320 points

1 answer to this question.

0 votes

Here is what you can try.

By using the configurations that you have given, the manual fixing of configuration will be:

dockerd --debug \
  --tls=true \
  --tlscert=/var/docker/server.pem \
  --tlskey=/var/docker/serverkey.pem \
  --host tcp://
 You can know about the configuration options that are available, by clicking on dockerd reference docs,
I hope that the above information will resolve your query.
answered Dec 22, 2018 by Damon Salvatore
• 5,980 points

Related Questions In DevOps & Agile

0 votes
1 answer
+2 votes
1 answer

Error: You might need to start Docker for Windows. How do i start the daemon?

Hi, If you are running containers with Docker, ...READ MORE

answered May 19, 2020 in DevOps & Agile by MD
• 95,320 points
+1 vote
2 answers

How do I run Apache server from Docker without mapping to a location?

If you're seeing a 500 error, that's ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by lina
• 8,220 points
0 votes
1 answer

How to get remote access to a private docker-registry?

New client version refuses to work with ...READ MORE

answered Jul 31, 2018 in DevOps & Agile by Kalgi
• 52,370 points
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points
0 votes
2 answers
0 votes
1 answer