Questions tagged [boot2docker]

boot2docker is a lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. It runs completely from RAM, weighs approximately 27 MB and boots in approximately 5 seconds (your mileage may vary).

boot2docker is a lightweight distribution based on Tiny Core Linux made specifically to run containers on Windows and OS X systems. Boot2docker enables Windows and OS X users to easily create lightweight, portable, self-sufficient containers running Unix processes.

Download and Install

Boot2docker is an open-source project and can be downloaded from http://boot2docker.io/.

Instructions for use

Detailed instructions for using boot2docker can be found at https://github.com/boot2docker/boot2docker.

Tag usage

The tag on Stack Overflow is used for questions that relate to both and operating systems. For the benefit of others searching for answers, be sure to include the tag of your operating system in your question.

Related questions also appear on Super User for Windows and OS X.

913 questions
0
votes
1 answer

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…
SeattleStephens
  • 587
  • 8
  • 20
0
votes
0 answers

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…
Victor Bocharsky
  • 11,930
  • 13
  • 58
  • 91
0
votes
1 answer

Docker Containers Java Spring MVC and MongoDb

I have created two docker containers, one running MongodDb and one running Java Spring MVC on Tomcat 8. I have successfully linked the containers, but what I cannot understand is how you configure the java web app in one container to talk to mongodb…
0
votes
0 answers

Running apache on docker with Dockerfile in windows boot2docker

I created the Dockerfile below and I tried to build the docker file but it's stop in Step 7 with below issue. FROM fedora:20 RUN yum -y update; yum clean all RUN yum -y install httpd; yum clean all RUN mkdir -p /var/www/html RUN mkdir -p…
kesava
  • 13
  • 2
  • 7
0
votes
2 answers

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…
aronchick
  • 6,786
  • 9
  • 48
  • 75
0
votes
2 answers

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…
Jon Swanson
  • 107
  • 1
  • 1
  • 4
0
votes
1 answer

container monitoring not enabled by default

We would like to monitor docker container metrics parameters like CPU, network, memory etc. we are following https://docs.docker.com/articles/runmetrics/ and found that monitoring metrics is not enabled by default. cat /proc/cgroups #subsys_name …
user2775185
  • 1,099
  • 3
  • 17
  • 30
0
votes
0 answers

Boot2docker v1.5.0 fails to start on OS X 10.10.3

I'm running OS X 10.10.3. boot2docker init creates the virtual machine. boot2docker start starts the virtual machine, but it fails to connect to it with autodetection of the VM docker socket failing. These are the last few lines of the verbose…
sarvagnan
  • 1
  • 1
0
votes
1 answer

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…
Dieter Menne
  • 10,076
  • 44
  • 67
0
votes
1 answer

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…
user3648235
  • 169
  • 4
  • 13
0
votes
1 answer

docker-swarm error: client and server don't have same version(client: 1.18, server: 1.17)

I have been experimenting to run docker swarm with machine. I am using virtualbox as provider. I am able to spawn three VMs and run them as swarm-master, swarm-node-00 and swarm-node-01. But I am not able to use my swarm cluster. Here are some…
Pensu
  • 3,263
  • 10
  • 46
  • 71
0
votes
1 answer

Creating a bootstrap Dockerfile that automatically exposes files to the host operating system

I'm trying to create a bootstrap Dockerfile for web development. I would like any containers to allow for access of my code from within and also from the host operating system (Mac OS X). I cannot tell from the Docker reference what is the best way…
user3758291
  • 129
  • 1
  • 8
0
votes
1 answer

Access web server over https in a Docker container

I'm using Boot2Docker to manage Docker containers in Windows and I have a container running an IBM Liberty server (I guess is the same for any other server), I can access the server home screen in the host machine using only the ip (which I get…
CIOC
  • 1,385
  • 3
  • 19
  • 48
0
votes
1 answer

Docker in debugging mode

I have flume, hdfs container running in boot2docker. I have java code under my /c/users/ directory which is automatically mounted by boot2docker[According to docs]. I copied required jars into running container instead mounting the volume using -v…
Gibbs
  • 21,904
  • 13
  • 74
  • 138
0
votes
0 answers

long(ish) running task in zshrc

tldr i'd like to run an export command in zshrc that takes a while to run. i don't need the env variable immediately but would like to have my command prompt available right away. is there a way to start this command in the…
hackerhasid
  • 11,699
  • 10
  • 42
  • 60