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

How to update docker-compose version on windows 10

I have docker and docker toolbox installed on Win10 machine. docker -v Docker version 18.06.0-ce, build 0ffa825 docker-compose -v docker-compose version 1.22.0, build f46880fe My docker version is up-to-date but the composer is not. Any idea how…
rajan.sngh
  • 453
  • 2
  • 5
  • 17
14
votes
8 answers

Keep getting Could not read CA certificate when trying to start docker

I am attempting to migrate from boot2docker to docker-machine. I followed the directions here to install docker but I keep getting the following message: Could not read CA certificate…
Naruto Sempai
  • 6,233
  • 8
  • 35
  • 51
14
votes
1 answer

Docker-machine - IP address conflict

Here are my environment: Windows 7 64 bit Docker for windows When I create new machine, I encounter the IP address conflict: And the console is stuck at phase starting VM Creating VirtualBox VM... Creating SSH key... Starting VirtualBox VM...…
user929794
  • 223
  • 1
  • 11
13
votes
3 answers

How to import a database into a Docker container using docker-compose

I am working with the official WordPress Docker image with docker-compose on my Mac (using boot2docker). I need to do a one-off data import. I'm not sure how to do this. How can I import data to the database container? wordpress: image: wordpress …
Andrew
  • 227,796
  • 193
  • 515
  • 708
13
votes
2 answers

Docker mongodb share volume with mac os x

I try to use the mongodb official docker image on mac os x 10.10.2 with this command inside mac terminal : docker run -v /Users/john/data/db:/data/db -p 27017:27017 mongo --smallfiles But it exits with this error log : 2015-04-11T10:53:19.709+0000…
Manel
  • 1,616
  • 19
  • 42
13
votes
6 answers

Within Docker VM, Gulp-Watch Seems to not work well on volumes hosted from the host OS

So I have a setup, probably as most people have, where their app code is mounted into a Docker container through a separate volume. The problem is that if I run gulp, and specifically gulp-watch, to watch for file modifications etc. within docker,…
adrian
  • 2,326
  • 2
  • 32
  • 48
12
votes
8 answers

Can not pull docker image from private repo when using Minikube

I am attempting to use Minikube for local kubernetes development. I have set up my docker environment to use the docker daemon running in the provided Minikube VM (boot2docker) as suggested: eval $(minikube docker-env) It sets up these environment…
Jason White
  • 4,462
  • 4
  • 23
  • 23
12
votes
2 answers

How to forward all ports in docker container

Consider: docker run -p 5000:5000 -v /host/:/host appimage it forwards 5000 to 50000 even in multiple: docker run -p 5000:5000 -p 5001:5001 -v /host/:/host appimage What I want to know is: docker run -p allports:allports is there any command…
nkkrishnak
  • 397
  • 1
  • 3
  • 12
12
votes
3 answers

Docker push takes a really long time

I have a deployment setup with Docker that works as follows: Build an image on my dev machine via a Dockerfile Push the image to a registry (I tried both Docker Hub and Quay.io) Pull this image to the deployment server, and restart the…
user1496984
  • 10,957
  • 8
  • 37
  • 46
12
votes
1 answer

Docker: Build your own image issue

I'm discovering docker and I followed the getting started section in the official website. However I'm getting stuck in the "Build your own image" section link in the step 2 when you are asked to build a new image from a docker file. I'm working on…
onizukaek
  • 1,082
  • 1
  • 14
  • 38
12
votes
2 answers

How to connect two docker containers through localhost?

I have two services running in separate containers, one is grunt(application) and runs off port 9000 and the other is sails.js (server) which runs off port 1337. What I want to try to do is have the client app connect with the server through…
reconman
  • 305
  • 1
  • 3
  • 10
12
votes
4 answers

Boot2Docker on Mac - Accessing Local Files

I've just set up boot2docker on my Mac. How do I go about mounting a local directory on my Mac so that it's accessible all the way through to a running Docker container? Thanks for your help!
Chris
  • 3,109
  • 7
  • 29
  • 39
12
votes
4 answers

Using docker during the development workflow

I'm using boot2docker on OS X and cloned the following repo: https://github.com/enokd/docker-node-hello It basically has a Dockerfile and a very simple express app that prints hello world. Everything runs great when I build and run the image, but…
Abdullah Jibaly
  • 53,220
  • 42
  • 124
  • 197
11
votes
1 answer

Docker-Compose Issue with container name

I have created a docker image with required packages. I have run the docker image specifying the host and guest port along with the required volume mounting Example: sudo docker run -it --name CONTAINERNAME -v /host:/guest…
Jeevitha G
  • 1,194
  • 3
  • 13
  • 20
11
votes
1 answer

Docker toolbox: Is there a way to mount other folders than from "C:\Users" Windows?

I installed Docker toolbox 1.8.3 using VirtualBox 5.0.6 on Windows 7. The default virtual machine created during startup of Docker Quickstart Terminal has one defined shared folder for c:\Users. Is it possible to persistently add other shared…
renzo
  • 135
  • 1
  • 2
  • 10