Tag: docker machine

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 […]

A particular image is not getting pulled from Docker Hub – jwilder/nginx-proxy

I am able to happily pull most images, except the following: docker pull jwilder/nginx-proxy The following is the error message: Using default tag: latest Pulling repository docker.io/jwilder/nginx-proxy Network timed out while trying to connect to https://index.docker.io/v1/repositories/jwilder/nginx-proxy/images. You may want to check your internet connection or if you are behind a proxy.

How can I make an overlay network in docker without using docker-machine commands

Docker documentation explains how to make an overlay network using the command eval $(docker-machine -swarm master) docker network create -d overlay test-overlay The problem is thet I am not using docker-machine to setup my cluster. When I try to create an overlay network I get an error. Command that is executed on my swarm master […]

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