Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

348
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda