Tag: boot2docker

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

Boot2Docker Image (Ubuntu) Download Very Slow on Windows 8.1

I’ve just installed boot2docker on Windows 8.1 Trying to run : docker run ubuntu /bin/echo ‘hello world’ Download ubuntu image takes a very long time. I have 9 mbps download speed but after waiting for 10 mins, still it downloaded only following : 4.324 MB/ 65.77 MB 1.621 MB/ 65.77 MB 1.080 MB/ 65.77 MB […]

Running Boot2docker behind proxy, getting FATA[0020] Forbidden for any interaction with Docker hub

Followed the instruction to set up proxy of boot2docker , Getting the following FATAs, any clue FATA[0020] Get https://index.docker.io/v1/repositories/library/busybox/images: Forbidden while trying to pulling images FATA[0020] Error response from daemon: Server Error: Post https://index.docker.io/v1/users/: Forbidden while trying to login FATA[0000] Error response from daemon: Get https://index.docker.io/v1/search?q=ubuntu: Forbidden – while searching for images updated to include […]

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