Questions tagged [docker-machine]

docker-machine creates Docker Engines on your computer, on cloud providers, and/or in your data center, and then configures the Docker client to securely talk to them.

Once your Docker host has been created, it then has a number of commands for managing them:

  • Starting, stopping, restarting
  • Upgrading Docker
  • Configuring the Docker client to talk to your host

Source

1691 questions
31
votes
19 answers

Docker daemon is not running

Newbie in this area. I have installed the new version of Docker in my windows PC. I am using windows 10 Pro. I have tried the very basic docker command but it is not working. I have also run the docker as administrator. Getting the below error…
TAMIM HAIDER
  • 641
  • 1
  • 10
  • 19
31
votes
5 answers

Docker - Unable to locate package docker-engine

I am trying to install docker in Ubuntu 16.04. I am following this link for docker installation. I am ending up with Unable to locate package docker-engine My current kernal version - 4.4.0-38-generic Ubuntu version - 16.04
31
votes
6 answers

How to mount external volume for mongoDB using docker-compose and docker-machine

I would like to persist the mongoDB data outside of the container and on a specified volume. I am using docker-compose and the yml file looks like web: build: . command: python -u app.py ports: - "5000:5000" volumes: - .:/todo …
casra
  • 431
  • 1
  • 4
  • 4
31
votes
6 answers

Docker - Error response from daemon: client is newer than server

After creating a new machine with Docker Machine, I'm getting the following error: $ docker ps Error response from daemon: client is newer than server(client API version 1.21, server API version: 1.19) How can I fix this?
Marc Perrin-Pelletier
  • 12,696
  • 8
  • 28
  • 36
29
votes
5 answers

Is there a way to force docker-machine to create vm with a specific ip?

Is there a way to force docker-machine to create the docker vm with a specific ip (assuming that ip is available)?
ashic
  • 6,367
  • 5
  • 33
  • 54
29
votes
2 answers

How to change "default" docker-machine's dns settings

I know how to create a new docker-machine with dns settings docker-machine create -d virtualbox --engine-opt dns=8.8.8.8 my_machine But there is already a "default" virtualmachine so is there a way to change its dns? I read online ways to do this…
kane
  • 5,465
  • 6
  • 44
  • 72
29
votes
2 answers

Managing remote docker machines from multiple development machines

Can the docker machines created from one developer workstation using docker-machine commands, be managed from another workstation. I am not looking for a solution involving docker swarm, but just docker machine. From my understanding when…
frameworksnow
  • 907
  • 1
  • 9
  • 11
27
votes
3 answers

How to make Network_Mode : "host" work in docker-compose.yml file

I am trying to execute a "docker-compose up" command. Please find below my docker-compose file. I tried with network_mode: "host" but it doesn't work. I am on Linux OS. request you to let me know if I am making any blunder. version: '3.6' services: …
The Great
  • 7,215
  • 7
  • 40
  • 128
27
votes
3 answers

VirtualBox: VERR_VM_DRIVER_NOT_INSTALLED

I am trying to launch two VMs using docker machine: docker-machine create --driver virtualbox myvm1 docker-machine create --driver virtualbox myvm2 I see the following error in the output: (myvm2) Progress state: NS_ERROR_FAILURE (myvm2)…
Hirurg103
  • 4,783
  • 2
  • 34
  • 50
27
votes
2 answers

Docker Bridge Conflicts with Host Network

Docker seems to be creating a bridge after a container starts running that then conflicts with my host network. This is not the default bridge docker0, but rather another bridge that is created after a container has started. I am able to configure…
Paul Mazzuca
  • 567
  • 1
  • 5
  • 19
26
votes
5 answers

How to uninstall Docker Machine under Windows 10

I didn't found any solution to remove Docker Machine from my Windows 10 Edu, but documentation for Docker Machine on Windows is very rare. I'm a newbie on Powershell so maybe there is a simple command that I didn't found...
Thibault
  • 842
  • 2
  • 8
  • 16
26
votes
2 answers

Understanding docker port mappings

Please explain the following output: docker ps ExanpleContainter Ports -------- 10.10.10.10:443->443/tcp, 0.0.0.0:1937->1937/tcp And, docker inspect ExanpleContainter "Ports": { "1937/tcp": [ { "HostIp": "0.0.0.0", "HostPort":…
Aniruddha
  • 837
  • 3
  • 13
  • 37
25
votes
1 answer

docker: "first record does not look like a TLS handshake" error when pull image

I have just installed docker and then try running hello-worldprogram. My server is behind proxy of company. So, I set proxy environment variables according to manual from docker in a file named…
hugtech
  • 877
  • 3
  • 11
  • 16
25
votes
7 answers

docker swarm init could not choose an IP address error

Experimenting with Docker Swarm with Docker Desktop for Mac. I tried this: docker-machine create -d virtualbox node-1 docker-machine create -d virtualbox node-2 docker-machine create -d virtualbox node-3 eval $(docker-machine env node-1) docker…
Justin
  • 2,224
  • 2
  • 22
  • 28
24
votes
3 answers

What does the "(healthy)" string in STATUS stands for?

What does the "(healthy)" string in STATUS column stands for? user@user:~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES X X X X Up 20 hours X X X …
Robert Wróbel
  • 345
  • 1
  • 2
  • 9