Tag: boot2docker

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 container not exposed on network

I am new to docker. I am running it on windows. I am trying to get a container named “ghost” (available from the Docker Hub) to work on a Windows 8.1 machine. While the container starts correctly and supposedly exposes url at http://localhost:2368, when I enter this address nothing happens. The same has happened when […]

Error response from daemon: EOF on remove image

I receive the error Error response from daemon: EOF when trying to remove an image with the command docker rmi 07f8e8c5e660. I’ve tried the force option with the same result. I’m doing all of this within a docker machine having setup the machine and set my environment with the commands: docker-machine create –driver virtualbox dev […]

boot2docker certificate error

I download the boot2docker@1.7.1 and install it through the package wizard. But when I try to run it, it throws me this error: An error occurred trying to connect: Post https://192.168.59.103:2376/v1.19/containers/create: remote error: bad certificate I tried with all this options, but the issue remains.

Dockerizing java app

I’m a beginner in docker and I have one question. I have downloaded boot2docker which is running on oracle virtual box. When I did ssh on boot2docker and created a directory where I keep my simple app in java (file with code with .java extension is enough? ). How should I include that directory in […]

Get 502 Bad Gateway when use fastcgi_pass: 127.0.0.1:9000

I have next docker-compose file: nginx: build: . ports: – “80:80” – “443:443” links: – fpm fpm: image: php:fpm ports: – “9000:9000” The Dockerfile command list is: FROM nginx ADD ./index.php /usr/share/nginx/html/ # Change Nginx config here… RUN rm /etc/nginx/conf.d/default.conf ADD ./default.conf /etc/nginx/conf.d/ And my custom Nginx config default.conf file is: server { listen 80; […]

Linked container IP not in hosts

I’m trying to configure a simple LAMP app. Here is my Dockerfile FROM ubuntu # … RUN apt-get update RUN apt-get -yq install apache2 # … WORKDIR /data And my docker-compose.yml db: image: mysql web: build: . ports: – 80:80 volumes: – .:/data links: – db command: /data/run.sh After docker-compose build & up I was […]

Using 'boot2docker ip' in your database.yml?

I’d like to use something like the following in my database.yml: host: %x(boot2docker ip) However, whenever I do this, I get back something like the following error: RuntimeError (YAML syntax error occurred while parsing …-database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (<unknown>): found character that cannot […]

How to install jdk, jdeveloper, maven and svn in one docker container?

I want to create development environment for all our programmers so I want to install jdk, jdeveloper, maven and svn in one docker container. How can I do that?

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