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
8
votes
5 answers

Obtaining the ip address of a docker container

I have a ubuntu machine which is a VM where I have installed docker in it. I am using this machine from my local windows machine and doing ssh , opening the terminal to the ubuntu machine. Now , I am going to take a docker image which contains all…
Jquery Developer
  • 279
  • 1
  • 4
  • 15
7
votes
0 answers

Error getting IP address: Something went wrong running an SSH command! command

While Starting docker terminal below error populating, how to fix this Error getting IP address: Something went wrong running an SSH command! command : ip addr show dev eth1 err : exit status 255 output : docker is configured to use the…
Ari
  • 71
  • 1
  • 5
7
votes
1 answer

Named pipes in docker container folder mounted to mac os x file system through boot2docker

I'm working on wrapping some scientific software by docker image using boot2docker on Mac OS X. And that software (https://github.com/voutcn/megahit.git) is using named pipes (in python code, but it's not important) to wire different parts (written…
rsutormin
  • 1,629
  • 2
  • 17
  • 21
7
votes
2 answers

How can I update DOCKER_OPTS in docker-machine permanently

After update to docker-machine, I have no idea how to update DOCKER_OPTS in a local boot2docker docker-machine and save it permanently $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM dev * …
Quanlong
  • 24,028
  • 16
  • 69
  • 79
7
votes
2 answers

How to install gulp on a docker with docker-compose

I am using docker compose and this is my yaml file web: dockerfile: Dockerfile-dev build: . command: gulp volumes: - .:/app ports: - '9001:9001' and here is my docker file FROM node:0.12.7 RUN npm install -g bower gulp ADD .…
Mr Mixin
  • 893
  • 3
  • 10
  • 15
7
votes
3 answers

Docker error dial unix /var/run/docker.sock: no such file or directory

I use to have boot2docker installed but recently installed the Docker ToolBox app for the Mac (running 10.11). When I open up iTerm and type docker ps I get the following message. Get http:///var/run/docker.sock/v1.20/containers/json: dial unix…
Prometheus
  • 32,405
  • 54
  • 166
  • 302
7
votes
1 answer

Build container with docker-compose, but run /etc/bash with -it option later?

I'm using docker-compose for development. During the process, I often need to build 5 containers (1 for web-server and 4 for postgres, redis, mongo, etc.). The web server container is configured to include links for other containers, it has it's own…
f1nn
  • 6,989
  • 24
  • 69
  • 92
7
votes
1 answer

Unable to connect to tomcat running in Docker (Connection refused)

I am very new to Docker, and I am trying to run the default tomcat image. I see that the container is running, but when I try to hit it from my web browser, I get "CONNECTION REFUSED". What is going on here? Details I have the Docker Toolbox…
RMorrisey
  • 7,637
  • 9
  • 53
  • 71
7
votes
2 answers

Update & Upgrade Docker distribution on Windows

At the moment I've got Docker v.1.7 and I'd want to upgrade it to latest (1.8 at the moment). Important part: I want to do this without installing Docker and boot2docker again. I wasn't able to find any info about it. Is it possible? And how can I…
michalczukm
  • 9,963
  • 6
  • 40
  • 47
7
votes
3 answers

Docker: how to fix "Layer already being pulled by another client. Waiting"

I have a fresh install using boot2docker. (DockerToolbox was giving me the same error. After uninstalling DockerToolbox, I deleted ~/.docker and searched my whole filesystem for anything starting with "docker" and found no other configuration…
Dan Jameson
  • 1,510
  • 13
  • 20
7
votes
1 answer

Node http-proxy in Docker container

I have the following code that works great in my local environment. However, when I try to run the same code from a Docker container (via Boot2Docker), I simply cannot get to https://[boot2docker_ip]:4000 I tried updating the target value in the…
Moon
  • 33,439
  • 20
  • 81
  • 132
7
votes
1 answer

How to customize virtualbox configuration using docker-machine?

I am playing with docker-machine on my rough machine where I generally play with new things. I create a docker machine using the following command docker-machine create --driver virtualbox dockerinwild and configure docker client to work with…
Nur Rony
  • 7,823
  • 7
  • 38
  • 45
7
votes
1 answer

unreadable zsh shell and backspace not work on zsh shell on Docker

I used the FROM rails:onbuild image You can see the wrong/unreadable encoding here When I type backspace after test, it didn't work, it appended spaces on the shell Here's the environment variables , any ideas for the bug…
newBike
  • 14,385
  • 29
  • 109
  • 192
7
votes
2 answers

Docker Compose and execute command on starting container

I am trying to get my head around the COMMAND option in docker compose. In my current docker-compose.yml i start the prosody docker image (https://github.com/prosody/prosody-docker) and i want to create a list of users when the container is actually…
Marco
  • 15,101
  • 33
  • 107
  • 174
7
votes
1 answer

How do I make docker-compose on OS X work with a Play app?

I am trying to run a Dockerized Play app on OS X via docker-compose 1.1.0/boot2docker 1.5.0. However, it doesn't really, well, play (pardon the pun)... The problem is that the app must run with a pseudo TTY (provided by Docker), and this makes…
aknuds1
  • 65,625
  • 67
  • 195
  • 317