Tag: docker machine

Can a single docker host be managed by multiple docker-machine instances?

Using docker-machine on my system (S1), i created a docker host on AWS using amazon-ec2 driver. I have another system (S2) on which i installed docker-machine. Used generic driver and pointed docker-machine to manage the docker host on AWS. From this point onwards, i am unable to access the docker host from S1. Any suggestions […]

Docker Machine / VirtualBox Mount Volume

On MacOS X, I’ve mounted an encrypted sparse image with my project working files to /Volumes/MyProject. I’d now like to share this path with docker containers, so I’ve tried to share /Volumes with the Docker VM in VirtualBox but it does not show up inside the VM. What am I doing wrong? The /Users directory […]

Gradle Docker plugin broken pipe on osx

Hi I try to use this awesome Gradle plugin: https://github.com/bmuschko/gradle–docker-plugin I use the following URL obtained from my docker-machine / kitematic installation on osx: docker-machine url default tcp:// However using: url = “tcp://” results in the error: org.apache.http.conn.UnsupportedSchemeException: tcp protocol is not supported When I change the tcp to httpI get a different error: INFO […]

Docker swarm: How to specify cpu units provided by a node?

Where and how does docker swarm determine how many cpu units a node provides? An AWS t2.medium registers as 1 cpu even though it has 2 vCPU.

docker on mac + docker-machine. can't ctrl+c

I’m running what I believe to be the latest version of docker and docker-machine on Mac via homebrew (vmware backend for docker machine) and I’m having trouble using ctrl+c to exit containers which have been started in -it mode. [ 2016-03-23 18:56:33 | oliver@mbp ] ( ~/docker/volumes ) 556 $ docker -v Docker version 1.10.3, […]

docker-compose with docker-swarm under docker-machine not mounting volumes

I have a working docker-compose example running a static html with nginx. The directory tree: ├── docker-compose.yml ├── nginx │   ├── app │   │   └── index.html │   └── Dockerfile The docker-compose.yml: nginx: build: ./nginx volumes: – ./nginx/app:/usr/share/nginx/html ports: – 8080:80 The nginx directory has the Dockerfile: FROM nginx Everything is working right. The problem is […]

docker-machine create error … VBoxManage: error: Unknown option: –synthcpu

I am trying to create docker-machine using virtualbox as the driver. ➜ ~ docker-machine create –driver virtualbox default However, I am getting following error INFO[0000] Creating SSH key… INFO[0000] Creating VirtualBox VM… ERRO[0005] Error creating machine: exit status 1 WARN[0005] You will want to check the provider to make sure the machine and associated resources […]

Golang continous workflow with docker

What is the best and simple way to do continuous development with docker and golang . What i am concern about is compiling and running and building docker images again when i change some code in golang . I am using docker container inside docker machine without swarm and building containers with docker compose . […]

Docker: Write Permission on directory, but user cannot write

I have a SLES11 docker image that I run using docker-machine (virtualbox VM) on OS X. It shows odd behaviour when it comes to file permissions. The Volume in question is not mounted via ‘-v’, it is provided by the image (not persistent or explicitly shared with the host OS) Inside the docker image I […]

How to do SSH tunneling with docker (machine & compose)?

I have a mongoDB container running on an instance built with docker-machine, maintained with docker-compose. The mongoDB process isn’t exposed to external traffic. I want to connect to the remote mongoDB server using a GUI tool installed locally and without exposing any ports on the remote machine. What’s the best way to do this? Is […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.