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
85
votes
4 answers

How to install new packages into non-root Docker Container?

I'm trying to extend a docker container for SOLR. I just want to install vim into it. But when I run the docker build it complains that I'm not root. This is the DockerFile that I'm…
Richard G
  • 5,243
  • 11
  • 53
  • 95
84
votes
14 answers

Docker error: client and server don't have same version

Since I just updated Docker to 1.1.0 I get: Error response from daemon: client and server don't have same version (client : 1.13, server: 1.12) Do you know how to fix this? I switched back to 1.0.1 and everything works again.
soenke
  • 1,023
  • 1
  • 8
  • 8
82
votes
8 answers

exited with code 0 docker

I'm trying to launch container using docker-compose services.But unfortunetly, container exited whith code 0. Containers is build thanks to a repository which is from a .tar.gz archive. This archive is a Centos VM. I want to create 6 container from…
Sylvain M.J.
  • 823
  • 1
  • 6
  • 5
78
votes
6 answers

docker-credential-desktop not installed or not available in PATH

I might have a bit of a messed Docker installation on my Mac.. At first I installed Docker desktop but then running it I learned that as I'm on an older Mac I had to install VirtualBox so I did following these steps: enable writing on the…
Vincenzo
  • 5,304
  • 5
  • 38
  • 96
78
votes
13 answers

Change Docker machine location - Windows

I am using docker toolbox on Windows 7 to run docker. (docker version 1.9.1) As it turns out, the docker machine creates its VM at C:\Users\username\.docker\machine\machines\default. As I commit the images, the size of VM at this location bloats up.…
shrivb
  • 1,511
  • 3
  • 15
  • 20
73
votes
4 answers

/lib64/ld-linux-x86-64.so.2: No such file or directory error

Background I am using docker to do a school project. Specifically, I pulled an ubuntu image and here is the system config: I then logged into the docker container (ubuntu) and set up elasticsearch. When I try to run ./bin/elasticsearch I get the…
Rieder
  • 1,125
  • 1
  • 11
  • 18
72
votes
3 answers

dockerd vs docker-containerd vs docker-runc vs docker-containerd-ctr vs docker-containerd-shim

This stuff is really getting confused now. Can someone please explain what's going on. Just the straight one liner difference. dockerd libcontainerd containerd docker-containerd docker-runc docker-containerd-ctr docker-containerd-shim thanks
Ijaz Ahmad
  • 11,198
  • 9
  • 53
  • 73
70
votes
7 answers

If Docker runs natively on windows, then why does it need hyper-v

If Docker community runs natively on windows, then why does it need Hyper-v? I.E., doesn't native imply that Docker-Engine can run instructions on windows? It looks to me like it still starts up a Linux VM and runs with-in that. To me, is seems that…
TigerBear
  • 2,479
  • 1
  • 21
  • 24
62
votes
5 answers

Using an IDE while developing on a docker container

There is something that I am not getting when developing an application while using docker containers. Lets say I am developing a java application and I set up a java container with jdk 8 base image, I still need to install java 8 jdk on my local…
60
votes
10 answers

Volume binding using docker compose on Windows

I recently upgraded my Docker Toolbox on Windows 10, and now my volume mounts no longer work. I've tried everything. Here is the current mount path: volumes: - C:\Users\Joey\Desktop\backend:/var/www/html I receive an invalid bind mount error.
9997
  • 1,187
  • 1
  • 9
  • 14
57
votes
7 answers

How to fix the running out of disk space error in Docker?

When I am trying to build the docker image I am getting out of disk space error and after investigating I find the following: df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 4G 3.8G 0 100% / How do I fix this out of…
Pritam Banerjee
  • 17,953
  • 10
  • 93
  • 108
57
votes
6 answers

Inject host's SSH keys into Docker Machine with Docker Compose

I am using Docker on Mac OS X with Docker Machine (with the default boot2docker machine), and I use docker-compose to setup my development environment. Let's say that one of the containers is called "stack". Now what I want to do is…
Ruslan
  • 1,208
  • 3
  • 17
  • 28
55
votes
4 answers

docker-machine boot2docker root password

Haven't found an answer anywhere... I created a VM (boot2docker) using docker-machine. I need to edit some files using root. What is the root password in boot2docker?
user1340582
  • 19,151
  • 35
  • 115
  • 171
54
votes
6 answers

docker-machine: no machine name, no "default" exists

I downloaded and installed Docker for Windows 1.12.1 which in turn installed the docker-machine and docker-compose. I did not install "Docker Toolbox" since its a duplicate of what was installed and my system meets the requirements. Everything seems…
Jim
  • 563
  • 1
  • 4
  • 6
53
votes
10 answers

Unable to start Docker service with error "Failed to start docker.service: Unit not found."

I have installed Docker with yum install docker: $ uname -a Linux caspgval4 3.10.0-229.20.1.el7.x86_64 #1 SMP Wed Nov 4 10:08:36 CST 2015 x86_64 x86_64 x86_64 GNU/Linux $ docker --version Docker version 1.12.6, build 3a094bd/1.12.6 $ docker…
user5154816