Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

224
Visualizações
Docker Machine vs Docker run

I'm confused between docker-machine vs docker run

docker images, shows me my images and then I can run one of these images with docker run.

When do I need to use docker-machine?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

From Docker Documentation

You can use Docker Machine to:

  • Install and run Docker on Mac or Windows
  • Provision and manage multiple remote Docker hosts
  • Provision Swarm clusters

in other words:

when your Host OS does not support running Docker Engine natively (i.e. on Mac and Windows).

and basically docker run is to start a container based on a docker image either from a local image or from the online registry.

over 4 years ago · Santiago Trujillo Relatório

0

You would use docker-machine if you:

  • Have a VirtualBox based install of Docker for Win/Mac, rather than the newer HyperV or xhyve releases.
  • Have machines in the cloud that you'd like to manage from docker-machine

docker-machine includes boot2docker images to do an install and it acts as a wrapper to setting the docker environment variables to point the client to a remote host. You can easily do that latter part by hand.

Docker itself is what runs the containers, so if you're able to do that without docker-machine, you probably don't need to complicate your toolset.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda