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
72
votes
3 answers

dockerd vs docker-containerd vs docker-runc vs docker-containerd-ctr vs docker-containerd-shim

This stuff is really getting confused now. Can someone please explain what's going on. Just the straight one liner difference. dockerd libcontainerd containerd docker-containerd docker-runc docker-containerd-ctr docker-containerd-shim thanks
Ijaz Ahmad
  • 11,198
  • 9
  • 53
  • 73
69
votes
9 answers

How to access Docker container's web server from host

I'm running under boot2docker 1.3.1. I have a Docker container running a web server via uwsgi --http :8080. If I attach to the container I can browse the web site using lynx http://127.0.0.1:8080 so I know the server is working. I ran my container…
Anentropic
  • 32,188
  • 12
  • 99
  • 147
64
votes
12 answers

Docker can't connect to boot2docker because of TCP timeout

I'm running Mac OS 10.9.5 (Mavericks), I've followed https://docs.docker.com/installation/mac/ to install Docker. I get a timeout error message when I run Docker even though the boot2docker VM is running in the background. nikhil@macbook ~>…
nikhil
  • 8,925
  • 21
  • 62
  • 102
61
votes
6 answers

Not enough entropy to support /dev/random in docker containers running in boot2docker

Running out of entropy in virtualized Linux systems seems to be a common problem (e.g. /dev/random Extremely Slow?, Getting linux to buffer /dev/random). Despite of using a hardware random number generator (HRNG) the use of a an entropy gathering…
mbonato
  • 1,469
  • 1
  • 11
  • 12
57
votes
1 answer

Difference between Docker and OpenVZ

I am newbie to the world of virtualization. Can some one explain to me the differences between OpenVZ and Docker? What could be good for the future? Pros and cons?
forum.test17
  • 2,119
  • 6
  • 30
  • 62
55
votes
4 answers

docker-machine boot2docker root password

Haven't found an answer anywhere... I created a VM (boot2docker) using docker-machine. I need to edit some files using root. What is the root password in boot2docker?
user1340582
  • 19,151
  • 35
  • 115
  • 171
54
votes
6 answers

docker-machine: no machine name, no "default" exists

I downloaded and installed Docker for Windows 1.12.1 which in turn installed the docker-machine and docker-compose. I did not install "Docker Toolbox" since its a duplicate of what was installed and my system meets the requirements. Everything seems…
Jim
  • 563
  • 1
  • 4
  • 6
54
votes
10 answers

How to install docker-compose on Windows

If I type the following commands in boot2docker as shown on the docker website: curl -L https://github.com/docker/compose/releases/download/1.1.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose chmod +x…
Chris
  • 1,692
  • 2
  • 17
  • 21
51
votes
6 answers

Port forwarding in docker-machine?

Since boot2docker is deprecated I've switched to docker-machine but I don't know how to open a port from docker-machine. In boot2docker I could do like this: boot2docker ssh -L 27017:localhost:27017 This would forward port 27017 from VirtualBox to…
Johan
  • 37,479
  • 32
  • 149
  • 237
46
votes
2 answers

How to install nano on boot2docker

I'm running the boot2docker VM in windows and need to modify the init scripts within the VM. Currently my only option is VI, and it's a pain. I'd just like to use nano, but it's not available. It's running: docker@boot2docker:/c$ uname -a Linux…
phazei
  • 5,323
  • 5
  • 42
  • 46
44
votes
7 answers

Redis Docker connection refused

I just built the redis docker instance $ docker pull redis After which I ran it like this. $ docker run --name=redis --detach=true --publish=6379:6379 redis I get the following $ docker ps key redis "/sbin/entrypoint.sh" 22 minutes…
Ikenna
  • 989
  • 4
  • 12
  • 24
41
votes
6 answers

Docker/Boot2Docker: Set HTTP/HTTPS proxies for docker on OS X

In short: How can I set the HTTP/HTTPS proxies for Docker on Mac OS X? In detail: I run Docker (1.12) on Mac OS X behind a proxy. I followed the installation instructions and installed boot2docker. This is working fine if I pull from my…
rrhrg
  • 1,150
  • 1
  • 13
  • 15
40
votes
9 answers

How to use --volume option with Docker Toolbox on Windows?

How can I share a folder between my Windows files and a docker container, by mounting a volume with simple --volume command using Docker Toolbox on? I'm using "Docker Quickstart Terminal" and when I try this: winpty docker run -it --rm --volume…
Anthony O.
  • 22,041
  • 18
  • 107
  • 163
39
votes
6 answers

How to deploy Dockerfile and application files to boot2docker

I'm just starting to learn Docker, and I'm trying to get a simple setup with boot2docker on Windows. I could not find in any tutorial or samples online how to make my project files accessible to the boot2docker VM. I downloaded boot2docker, and…
Christian Rondeau
  • 4,143
  • 5
  • 28
  • 46
38
votes
3 answers

Docker on Windows (Boot2Docker) - certificate signed by unknown authority error

I am running Docker on Windows (boot2docker + Oracle Virtual Box). In my corporate environment they modify the certificates so that the CAs are the company's self signed CA's. Thus, the chain ends up like this: Company's CA |__ Company's…
codependent
  • 23,193
  • 31
  • 166
  • 308
1
2
3
60 61