Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

345
Views
How to set the DOCKER_HOST env variable on a MAC

I am trying to run a program on Mac that needs a docker daemon access to run. For this I set the DOCKER_HOST env variable that the program can use in the following way

setenv DOCKER_HOST "tcp://<ip-of-docker-daemon-host>:2375"

But the program detects it as an http address. I also tried the following

setenv DOCKER_HOST "http://<ip-of-docker-daemon-host>:2375"
setenv DOCKER_HOST tcp://<ip-of-docker-daemon-host>:2375

But still get the same error. I also restarted the docker daemon making sure it it making itself available on port 2375 as follows

sudo docker -H 0.0.0.0:2375 -d &

I am on Mac OX Capitan 10.11.5

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

maybe unix socket approach will help

docker run -ti -v /var/run/docker.sock:/var/run/docker.sock centos bash

?

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!