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
18
votes
6 answers

Trying to run Docker resulted in exit code 127

I am trying to run a certain application in windows that uses docker. Since the application is a shell script, I use the cygwin terminal. As am new to docker, I dont have a clear Idea as to how it works. Using boot2docker, I have a docker terminal…
Lakshmi Narayanan
  • 5,220
  • 13
  • 50
  • 92
18
votes
3 answers

pushing docker image to dockerhub

I ve created my own docker file ( that runs a shell script which prints "helloworld"). The image is "hellodocker" and the tag is "mytag" I now have: bash-3.2$ docker images REPOSITORY TAG IMAGE ID CREATED …
user1189851
  • 4,861
  • 15
  • 47
  • 69
17
votes
3 answers

Error response from daemon: Container CONTAINER_NAME is not running

I have a docker image dajobe/hbase and its been built from Ubuntu. I created a container of this image and named it hb. $ docker run -d --name hb dajobe/hbase e1f68ff8b3b6c5e474426e2566f8c087d6a785fc5eeb58cd2aeb86176068651d I then started the…
Aaquib Khwaja
  • 544
  • 3
  • 7
  • 14
17
votes
3 answers

How to persist changes in boot2docker

I'm fairly new to Docker and has stumbled on a problem that I have been unable to figure out any solutions to. I'm on a Mac so I have to use Boot2Docker as my environment. I do all my stuff inside the VM using boot2docker ssh to mimic a "real"…
Thomas Rambrant
  • 171
  • 1
  • 5
16
votes
1 answer

Dockerfile CMD not running at container start

So i've written a Dockerfile for a project, i've defined a CMD to run on starting the container to bootstrap the application. The Dockerfile looks like # create our mount folders and volumes ENV MOUNTED_VOLUME_DIR=sites RUN mkdir…
James Kirkby
  • 1,716
  • 5
  • 24
  • 46
16
votes
1 answer

why I can't ping my docker container?

I run a docker container, which is named "redis". I want to use the "redis" container redis service, but I can't ping the container! As the picture shows, my "redis" container is IP address is 172.17.0.15, but I can't connect to it. I want to use…
allencharp
  • 1,101
  • 3
  • 14
  • 31
16
votes
5 answers

Docker Node JS Installation

I am brand new to docker and I am attempting to follow the node js tutorial that they have listed: https://docs.docker.com/examples/nodejs_web_app/ I follow this tutorial and everything seems to work great until the test portion and I can't curl to…
user1200387
  • 625
  • 2
  • 13
  • 22
16
votes
7 answers

Using private registry hosted on docker

I'm hosting my own docker-registry in a docker container. It's fronted by nginx running in a separate container to add basic auth. Checking the _ping routes I can see that nginx is routing appropriately. When calling docker login from boot2docker…
ConfusedNoob
  • 9,826
  • 14
  • 64
  • 85
16
votes
5 answers

How to get ssh connection with docker container on OSX(boot2docker)

I use docker on OSX with boot2docker. I want to get an Ssh connection from my terminal into a running container. But I can't do this :( I think it's because Docker is running in a virtual machine.
Valikos Ost
  • 355
  • 1
  • 2
  • 10
15
votes
4 answers

Mount volume to host

I am currently using Boot2Docker on Windows. Is it possible to mount root to host? Say that I'm using an Ubuntu image and I would like to mount / to the host. How can I do so? I've been looking around and trying: docker run -v /c/Users/ubuntu:/…
Leon
  • 446
  • 1
  • 5
  • 16
15
votes
4 answers

Docker Compose circular container linking

I'm in the process of attempting to containerize our development environment with docker. This includes a mix of Google Appengine projects as well as services that are being eventually hosted in Google Compute engine within a containerized vm. Our…
Jesse
  • 8,223
  • 6
  • 49
  • 81
15
votes
1 answer

inotifywait in docker-container doesn't register changes

I have a script running inside a docker-container which listens for changes in a directory via inotifywait. The directory is mounted to the host-system via docker -v. For some reason, inotifywait doesn't get triggered when files inside this…
Johannes Reuter
  • 3,501
  • 19
  • 20
15
votes
2 answers

How do I display output from Python application running inside Docker container?

So, I've got some Python code running inside a Docker container. I started up my local env using Google's gcloud script. I'm seeing basic access style logs and health check info, but I'm not sure how I can pass through log messages I'm writing from…
Brandon
  • 2,886
  • 3
  • 29
  • 44
15
votes
3 answers

Docker image for Windows

Has any one tried building a docker image for Windows (7.1/8)? The closest answer available for me is from ScottGu's Blog. See here http://weblogs.asp.net/scottgu/docker-and-microsoft-integrating-docker-with-windows-server-and-microsoft-azure But I…
Jimson James
  • 2,937
  • 6
  • 43
  • 78
15
votes
1 answer

interactive docker build from dockerfile?

I want to use a Dockerfile to build an image. However, commands will need user input as they run. Currently, the build is not successful because docker exits on user input. I know I can use the -i -t options on docker run command but I want to do…
Keeto
  • 4,074
  • 9
  • 35
  • 58