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
16
votes
1 answer

Passing aws credentials to Docker

I have a docker container golang code which interacts with aws resources. In the testing environment, we use iam role. But How do I test locally. How to use aws credentials to run my docker locally.I am using docker file to build the docker image.
16
votes
1 answer

Simple instructions needed for enabling and disabling Hyper V Docker

I have asked something similar before, but I was wondering if someone could give me some very simple instructions for how I can turn off HyperV Container features so that I can use Virtual Box and then turn them back on to use Docker for Windows At…
Paul
  • 2,773
  • 7
  • 41
  • 96
16
votes
2 answers

Change file permissions in mounted folder inside docker container on Windows Host

Disclaimer/Edit 2 Some years later, for everyone reading this question - If you are on Windows and want to use docker with linux containers, I highly recommend not using docker for windows at all and instead starting the entire docker environment…
16
votes
6 answers

How to install Ruby on docker?

I am trying to install ruby on docker. I could install the 1.9 versions but it is not possible to install the latest version such as 2.2.0 and above. I am actually trying to set up calabash on docker. Have tried this. Whenever I try to install…
16
votes
1 answer

docker-machine connect to existing machine

I have a docker swarm all hosted on AWS, created basically along the lines of this tutorial. To deploy our code, I need to be able to access this swarm separate of the computer where I created these instances. I don't see anywhere in the docs for…
kand
  • 2,268
  • 6
  • 31
  • 43
15
votes
1 answer

docker-machine unable to create a machine on macOS, VBoxManage returning E_ACCESSDENIED error

I have docker, docker-machine, and virtualbox installed using HomeBrew: Docker version 20.10.11, build dea9396e18 docker-machine version 0.16.2, build bd45ab1 VBoxManage version 6.1.30r148432 when I try creating a new machine docker-machine create…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
15
votes
2 answers

eval "$(docker-machine env default)"

I have issues with launching docker with docker-compose. When I run docker-compose -f dev.yml build I following error > Building postgres ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`. However if I…
Kimmo Hintikka
  • 13,472
  • 7
  • 34
  • 63
15
votes
1 answer

What's the difference between Docker and Chef's new Habitat tool?

Does Chef's new Habitat tool somehow work with Docker? If so, what problem is Habitat trying to solve or is it just trying to replace tools in the Docker toolset (e.g., Docker Swarm, Docker Machine, Docker Compose, etc.)?
Justin
  • 2,224
  • 2
  • 22
  • 28
15
votes
3 answers

How do I create a docker machine with a specific URL using docker-machine and VirtualBox?

I can create a Docker instance with the VirtualBox driver, but I cannot figure out how to specify the URL. Create Command: docker-machine create --driver virtualbox myBox docker-machine ls: NAME ACTIVE DRIVER STATE URL …
Rylander
  • 19,449
  • 25
  • 93
  • 144
14
votes
4 answers

Docker - Failed to ping backend

When i turned on my Mac I am getting this This window is not letting me select. When i try to uninstall the Docker from Mac Applications it says that Docker is still running. Please help. Thanks
14
votes
5 answers

How to update docker-compose version on windows 10

I have docker and docker toolbox installed on Win10 machine. docker -v Docker version 18.06.0-ce, build 0ffa825 docker-compose -v docker-compose version 1.22.0, build f46880fe My docker version is up-to-date but the composer is not. Any idea how…
rajan.sngh
  • 453
  • 2
  • 5
  • 17
14
votes
12 answers

Failed to create the host-only adapter - windows 10, docker, virtualbox

I've recently run into this problem after having used docker toolbox without a problem for a while. Started happening after windows update? Windows 10 Home - 64 Uninstalled and reinstalled Docker toolbox Uninstalled and reinstalled various versions…
14
votes
1 answer

Docker Machine on Mac: Cannot see mounted Volumes on docker host/docker-machine? Where are volumes physically stored?

Am on a Macbook Pro laptop and running docker-machine (0.5.0) and docker-compose (1.5.0) to get my containers going. This means I'm using docker-machine to create my virtualbox boot2docker driven HOST machines, which will run my docker daemon and…
skålfyfan
  • 4,931
  • 5
  • 41
  • 59
14
votes
3 answers

docker-machine create node without tls verification

When I create a node with docker-machine docker-machine create -d virtualbox node1 it is created with tls verification enabled for docker deamon which made things a bit more of a hassle than normal for swarm. I want to create a node with…
Montells
  • 6,389
  • 4
  • 48
  • 53
13
votes
3 answers

How can I prevent Docker from removing intermediate containers when executing RUN command?

The error I'm experiencing is that I want to execute the command "change directory" in my Docker machine, but every time I execute RUN instruction in my Dockerfile, it deletes the actual container (intermediate container). DOCKERFILE This happens…
Antonio Sanchez
  • 381
  • 1
  • 3
  • 11