Tag: boot2docker

docker networking – Could not discover any bindable network interfaces

I am trying to execute a jar from within a docker container which tries to start a service and detects an IP and port of a remote service and tries to connect to it. But as soon as I do that I get this exception – Exception occured: org.teleal.cling.transport.spi.InitializationException: Could not discover any bindable network […]

Error Pulling private docker repository from mac Boot2Docker

From my mac, successfully install Boot2Docker and everything seems to work well… However when I try to pull a remote private repository using the following command: sudo docker pull xxxx/yyyy I get this error message: FATA[0000] Post http:///var/run/docker.sock/v1.16/images/create?fromImage=xxxx%2Fdev%3Alatest: dial unix /var/run/docker.sock: no such file or directory When I try using this command docker pull xxxx/yyyy […]

Connecting java RiakClient to Riak container in Docker

I’ve been struggling for days on connecting Java to Riak running in a Docker container. If someone can help me, i’ll be very greatfull. I’m using RiakClient as API for JAVA. But i can’t figure out how build the RiakClient in the constructor RiakClient(). Maybe is my container setup to be wrong. Here what i’ve […]

Container cannot be started from bootlocal.sh

Running Boot2Docker 1.5.0 under Windows. A container gastrobase exists and can be started manually with docker start gastrobase. When I put this command into /var/lib/boot2docker/bootlocal.sh, upon startup I get Post http:///var/run/docker.sock/v1.17/containers/gastrobase/start: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? time=”2015-03-28T19:50:51Z” level=”fatal” msg=”Error: failed to […]

Can't connect to Amazon RDS from Docker container

I’ve created a Docker container which is running fine, except the part where I want to connect to an Amazon RDS instance. I can connect fine from my MySQL Client and the RDS instance is running fine. Somehow I can’t connect from my Docker Container. I get the following error: SQLSTATE[HY000] [2005] Unknown MySQL server […]

Mac Crashes Every Time I Try to Run Boot2Docker

I recently got a new MacBook Pro running OS X 10.10.2, and I installed Boot2Docker 1.5.0 on it. Aside from Chrome, this is the first program I installed on my new machine. However, when I try to run it, the terminal window opens up for a few seconds, saying boot2docker is up, and then my […]

Can't execute boot2docker command on TeamCity command line build step

I am trying to add docker commands on TeamCity build steps using the normal command line option. I have Windows environment so I have to use boot2docker. I can execute the command like: “C:\Program Files\Boot2Docker for Windows\boot2docker.exe” ssh docker images on Windows command line. It will return a list of my docker images. However, I’m […]

How to use the “Remote Systems” view in Eclipse to explore a Docker container file system?

The Eclipse Remote Systems view is a great tool to connect to VMs and explore their file systems, currently the following options are available: First I find out the container IP by running this command: docker inspect <container> | grep IPAddress | cut -d ‘”‘ -f 4 Once I have the IP, I launch the […]

Mounting a directory located on an alternate host computer volume. Possible? (Docker)

Problem: I want to mount a directory to my docker container, but its located on another hard drive.For example: /Volumes/alternateDrive/files! A better explanation below: Lets take the following scenario: (I’m using OSX and Boot2Docker) Say I have a directory of files located at: /Volumes/SomeHardDrive/project/ … files! I would like to mount this directory in a […]

apt-get update is not working inside docker container

I have created the container using the ubuntu:14.04. I have set proxies in the docker file configuration. When i start the conatiner and type command apt-get update it is giving me error. root@4a7043e2f675:/# apt-get update 0% [Connecting to archive.ubuntu.com] will stuck here and after for a while gives error as follow : Err http://archive.ubuntu.com trusty […]

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