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
2 answers

Shared folder in Docker. With Windows. Not only "C/user/" path

I'm new to Docker, I come from Vagrant. I'm using Docker (1.9.1) inside my "D:/Works/something/DockerFirstTime" folder. Now I create the machine with docker-machine create first and simple Dockerfile: FROM ruby:2.2-onbuild and simple Gemfile: source…
user4412054
8
votes
1 answer

can i use boot2docker in production ? CoreOS Vs boot2docker

If not why boot2docker cannot be used in production ? what is the thing, coreOS brings that boot2docker doesn't have ?
nkkrishnak
  • 397
  • 1
  • 3
  • 12
8
votes
1 answer

Windows + Boot2Docker, How to add D:\ drive to be accessible from within docker?

Basically, when you open boot2docker app, inside it you can cd /c/Users, right? Now I want to be able to cd /d to access my D:\ directory. I don't know squat about VM so please explain like you would to a 5-years old. This is in a way related to…
jaycode
  • 2,926
  • 5
  • 35
  • 71
8
votes
1 answer

Ubuntu based docker-machine image

Is there a possibility to simply create a docker-machine that is non-boot2docker based (i.e., Ubuntu based) (which uses virtualbox driver)? I would like to have full-featured Linux distro running the docker daemon on my mac instead of Tiny Core…
Stepan Vavra
  • 3,884
  • 5
  • 29
  • 40
8
votes
1 answer

Docker Toolbox SSH Login

I update my boot2docker to DockerToolbox. Now I try to connect to my database with Sequal Pro (MySQL Client) but my ssh Login to my VM fails with the following username and password: IP: 192.168.99.100 User: docker Password: tcuser How can I find…
codinglimo
  • 707
  • 2
  • 6
  • 17
8
votes
1 answer

How to increase the swap space available in the boot2docker virtual machine?

I would like to run a docker container that requires a lot of memory on a machine that doesn't have much RAM. I have been trying to increase the swap space available for the container to no avail. Here is the last command I tried: docker run -d -m…
Andrew
  • 743
  • 6
  • 17
8
votes
1 answer

Using shell commands with boot2docker

I have created a boot2docker VirtualBox instance, I can SSH into it OK but then when I try and run any commands such as bash I get -sh: bash: not found Pretty sure I'm missing something really simple but can't see what. Looking in /bin it doesn't…
timothyclifford
  • 6,799
  • 7
  • 57
  • 85
8
votes
2 answers

Boot2Docker - Access webserver as localhost

Created a apache webserver as Docker container but want to access it on windows os browser as localhost. I can access the webserver with boot2docker private ip address which is 192.168.59.103 but would like to access the webserver as localhost i.e…
user1581721
  • 177
  • 1
  • 4
  • 11
8
votes
3 answers

What does -c mean as an argument to bash?

docker run -d ubuntu:14.04 /bin/bash -c "while true; do echo hello world;done" docker run -d ubuntu:14.04 /bin/bash "while true; do echo hello world; done" I tried both. In case 2, the container stopped immediately. So docker ps returns…
Gibbs
  • 21,904
  • 13
  • 74
  • 138
8
votes
1 answer

Installing a web application in a Docker container: dial unix /var/run/docker.sock: no such file or directory

I'm trying to install a web application in a Docker container. I'm using OS X Yosemite version 10.10.1 I've been following the tutorial on Dockerizing a Node.js Web App here: https://docs.docker.com/examples/nodejs_web_app/ I downloaded and set up…
gatordh7
  • 109
  • 3
  • 8
8
votes
3 answers

Docker on Mac behind proxy that changes ssl certificate

My eventual workaround for the issue below was to convince our IT guys not to man-in-the-middle the dockerhub registry. I was not able to get anything else to work, alas. I am running into a problem with my initial attempt to get Docker running on…
pohl
  • 3,158
  • 1
  • 30
  • 48
8
votes
1 answer

How to use gcloud preview app run without boot2docker?

I'm trying to run a Dart app on my machine, to be eventually deployed on Google App Engine. I've followed the instructions found on this page https://www.dartlang.org/cloud/ The difference is I already have a local docker daemon running, which I'd…
James Hurford
  • 2,018
  • 19
  • 40
8
votes
2 answers

Docker + Nodejs + Private Repo + Private NPM Module - Access Problems

I am in process of setting up the the deployment of a Node.js Service with Docker. The Dockerfile I have is pieced together from various examples from around the net. The directory for the Dockerfile includes: Dockerfile id_rsa start.sh This is…
Jorge Olivero
  • 3,705
  • 9
  • 27
  • 33
8
votes
4 answers

Boot2Docker (1.3.0) stop starting. Now getting: "Error requesting socket: exit status 255"

When I run: $ boot2docker start I get: Waiting for VM and Docker daemon to start... ................. Started. Trying to get Docker socket one more time Error requesting socket: exit status 255 Auto detection of the VM's Docker socket…
Chris Holmok
  • 113
  • 1
  • 5
8
votes
4 answers

How do I dockerize an existing application...the basics

I am using windows and have boot2docker installed. I've downloaded images from docker hub and run basic commands. BUT How do I take an existing application sitting on my local machine (lets just say it has one file index.php, for simplicity). How…
user2808895
  • 438
  • 1
  • 6
  • 14