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
0
votes
1 answer

Proxy in boot2docker running containers to run on port 80 and a custom host name

I'm using boot2docker to setup different Docker containers on OSX. However the URLs for the applications running in these Docker containers are accessible through the IP and port e.g. http://192.168.59.103:8080 Since the applications I'm working on…
Andy
  • 841
  • 2
  • 8
  • 15
0
votes
1 answer

SSH Setup on Docker Container

I have installed the ssh-server using sudo apt-get install openssh-server on my ubuntu:latest Docker container running on Mac OSX Yosemite. I got the IP address of the container using boot2docker ip. Using the Network Utility I can verify that port…
ibp73
  • 650
  • 1
  • 6
  • 16
0
votes
1 answer

Scope of the 'read-only' flag when mounting a volume in Docker

I am attempting to achieve a setup with directories /foo /foo/bar Where /foo/bar is a directory mounted from the local file system but /foo is not. I would like /foo/bar to be read-only, but /foo to be read-write. Is this achievable in Docker?
user1336958
  • 105
  • 2
  • 10
0
votes
3 answers

How to install Cloud Foundry CLI on Ubuntu

I am a docker newbie. I have an ubuntu image and wanted to install Cloud Foundry CLI on it and am unable to do so. I downloaded the binary for CF CLI from https://github.com/cloudfoundry/cli/releases and untarred it. The untar is successful but I…
Manglu
  • 10,744
  • 12
  • 44
  • 57
0
votes
4 answers

Linking Docker Containers

I have a nodejs app i'm trying to run in a docker container. My app uses mongodb and redis. I've pulled down both a mongo and redis container and dockerized my app. I started up my mongo and redis containers like: docker run -i -t --name redis -d…
mikeyseay
  • 169
  • 1
  • 10
0
votes
1 answer

Saving a Docker image with boot2docker

For starters, I'm pretty new to Docker. I've created a simple image which I would like to share. As publishing to the hub is not an option, I'm trying out the docker save command. I'm on Windows 7, so I'm using Docker with boot2docker. Saving an…
tstorms
  • 4,941
  • 1
  • 25
  • 47
0
votes
0 answers

fig.sh and mysql container losing all data after stopping services

I have a fig setup that is so inconsistent that is driving me nuts. At random times between stopping services and restarting it loses the mysql data that was created. I tried with data only containers and linking them with volumes_from and even…
Romeo Mihalcea
  • 9,714
  • 12
  • 50
  • 102
0
votes
1 answer

Google app engine: IP of docker custom runtime container, node.js

This is related to the stackoverflow question here: Run Websocket on GAE . I am trying to run a version of mozilla's browserquest in a sandbox google custom runtime nodejs environment with boot2docker parameters as follows: docker version Client…
0
votes
1 answer

How do I configure boot2docker to start my containers on boot?

I'm fairly new to boot2docker and have some problem installing a process manager in it. The setup I'm going for is to use vagrant to create my local boot2docker development machine and configure the containers inside that VM. The Vagrant box I'm…
Tomas Jansson
  • 22,767
  • 13
  • 83
  • 137
0
votes
1 answer

Setting up Docker on Windows for PHP - can not find config file

I installed boot2docker and trying to pull some images from a private server. It asks to --insecure-registry to the config file but can not find it. Has anyone encountered the same issue and is there any solution?
Shaolin
  • 2,541
  • 4
  • 30
  • 41
0
votes
1 answer

Error while building OpenSSL for android using ndk

I am trying to build openSSL for android using ndk. I am using dockerFile concept. I have set few environment variables as per suggested in http://wiki.openssl.org/index.php/Android. Now I am getting following error: make[2]: Entering directory…
Premal
  • 551
  • 1
  • 6
  • 25
0
votes
1 answer

Fig doesn't link two containers

Long story short: fig up doesn't link 2 containers properly when docker rundoes. Scenario: There are 2 containers: one with Cassandra, another with client service. When containers start Client expects to have cassandra hostname in hosts file and be…
Dima
  • 6,721
  • 4
  • 24
  • 43
0
votes
1 answer

nginx in Docker on OS X doen't reload html

I tried to use nginx on boot2docker with OS X. I hope to start a web server. I tried with command below; docker run -d --name web -p 80:80 -v /Users/douglas/tmp/local_console:/usr/share/nginx/html:ro nginx Then I changed the content of index.html,…
Doug Hou
  • 550
  • 4
  • 14
0
votes
1 answer

unable to connect to dockerized mysql container locally

I am still a beginner with docker, trying to use docker to help in my development prototyping. My environment is Mac using boot2docker, version as below Client version: 1.3.1 Client API version: 1.15 Go version (client): go1.3.3 Git commit (client):…
Seng Zhe
  • 613
  • 1
  • 11
  • 21
0
votes
2 answers

How to create Dockerfile in Boot2docker to create an image

Can any one guide me how to create and edit a Dockerfile in boot2docker to create my own image? I am not sure which commands to use to edit the Dockerfile when in Boot2Docker shell.
Abhishek Pandey
  • 321
  • 1
  • 3
  • 4