Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Devops
  3. Question
Devops

What does the DOCKER_HOST variable do?

Asked by Aishwarya Jhadav Jun 15, 2021 1.7K views 1 answer
Share

About this question

 Hey there, I have just started learning about docker. I am using Boot2Docker with OSX. I am getting an error logging into it :

To connect the Docker client to the Docker daemon, please set
export DOCKER_HOST=tcp://192.168.59.103:2375
Weirdly enough the basic Docker commands work okay.
like : docker run hello-world
Plus the installation guide isn't that helpful :
Note: If you see a message in the terminal that looks something like this:
To connect the Docker client to the Docker daemon, please set: 
export  DOCKER_HOST=tcp://192.168.59.103:2375
you can safely set the evironment variable as instructed.
What I'm not clear on:
What is the docker "client"?
What is the docker "daemon"?
What is the docker "host"? 

Your answer

1 Answer

More Devops discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest DevOps Blogs

Guides, tips and career advice on DevOps from JanBask experts.