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

How can I push a war from windows system to boot2docker's VM tomcat webapp folder?

According to boot2docker docs: The first of the following share names that exists (if any) will be automatically mounted at the location specified: Users share at /Users /Users share at /Users c/Users share at /c/Users /c/Users share at…
Abhinav
  • 1,911
  • 2
  • 13
  • 11
0
votes
2 answers

How to configure freeSWITCH for a docker container inside boot2docker?

I'm trying to setup a Docker container running freeSWITCH so I can deploy it on a Debian server. For developing, I use a Mac running the freeSWITCH container within boot2docker. I need the container to work in both these environments. I manage to…
springloaded
  • 1,079
  • 2
  • 13
  • 23
0
votes
2 answers

How to execute a command on a running docker container?

I have a container running hadoop. I have another docker file which contains Map-Reduce job commands like creating input directory, processing a default example, displaying output. Base image for the second file is hadoop_image created from first…
Gibbs
  • 21,904
  • 13
  • 74
  • 138
0
votes
2 answers

Docker fig multiple server deployment

I have built my application image using docker.I need to deploy it on multiple servers.I came across this tool called dockerfig.I followed this link.http://www.slideshare.net/Docker/dockercon-europe2014weitingkuo. After generating all files when i…
user2451997
  • 561
  • 3
  • 8
  • 16
0
votes
1 answer

Rebuild when files changes on docker

i'm starting to work with docker (with boot2docker on Mac OSX) and golang, Whenever I make changes on my .go files I want to be visible on the docker image. Is there anyway to do this? Or docker is not the appropiate thing to do this? Thanks
Javier Manzano
  • 4,761
  • 16
  • 56
  • 86
0
votes
1 answer

docker cannot remove images?

docker images lists test latest e10eb3d3a067 7 days ago 1.094 GB But i tried to remove it using docker rmi e10eb3d3a067 docker rmi -f It says, No such id : and Error: failed to…
Gibbs
  • 21,904
  • 13
  • 74
  • 138
0
votes
1 answer

docker official tomcat image logs not showing anything?

I have built my docker java webapp image by adding war file to webapps folder of docker official tomcat image which is my base image in the dockerfile. I tested one small application and ran image. I can see pages in my web browser. But when i built…
user2451997
  • 561
  • 3
  • 8
  • 16
0
votes
1 answer

Is it possible to execute CMD at the middle of docker file?

I am installing hadoop-0.20.2 using docker. I have two files one is for java installation and another is for hadoop installation. I am starting services using CMD command cmd ["path/to/start-all.sh"] Now, i want to to write third dockerfile which…
Gibbs
  • 21,904
  • 13
  • 74
  • 138
0
votes
1 answer

Making host-resolved environment variables work with fig on boot2docker

According to the fig YML reference, I should be able to declare an environment variable with only a key to resolve this to the corresponding variable on the host. That doesn't work for me in boot2docker. Here's my fig.yml: test: image: ubuntu …
Henrik Heimbuerger
  • 9,924
  • 6
  • 56
  • 69
0
votes
2 answers

Supervisor is not starting up

I am following cloudera cdh4 installation guide. My base file FROM ubuntu:precise RUN apt-get update -y #RUN apt-get install -y curl RUN apt-get install -y software-properties-common python-software-properties RUN add-apt-repository…
Gibbs
  • 21,904
  • 13
  • 74
  • 138
0
votes
1 answer

Docker: filesystem changes not exporting

TL;DR My docker save/export isn't working and I don't know why. I'm using boot2docker for Mac. I've created a Wordpress installation proof of concept, and am using BusyBox as both the MySQL container as well as the main file system container. I…
Evilnode
  • 513
  • 4
  • 6
0
votes
1 answer

Why is "docker start" outputting the name of the container?

I have a small minimal test container made using the ruby image. The ruby script is simple, and outputs the single string "Twitter". When I first run the image and create the container, I get this output: $ docker run -it --name my-running-script…
fields
  • 4,433
  • 4
  • 27
  • 32
0
votes
1 answer

Vagrant start docker container after halt

I am using Vagrant boot2docker to provision docker containers. This containers are created and started during the provision process. After halting or restarting the VM and then calling vagrant up the containers are not restarted again. Also…
Vad1mo
  • 5,156
  • 6
  • 36
  • 65
0
votes
2 answers

How to access files downloaded on my windows machine from boot2docker?

I have a file which is downloaded from browser. I have boot2docker on my windows machine. From boot2docker, how can i access my downloaded file? Is it possible?
Gibbs
  • 21,904
  • 13
  • 74
  • 138
0
votes
1 answer

Cannot delete files on docker host

I'm using the following shell script to extract my databases in the entrypoint and startup the container. #!/bin/bash if [ ! -d "/var/lib/mysql/assetmanager" ]; then tar -zxvf mysql.tar.gz fi exec /usr/bin/mysqld_safe On startup I mount a local…
Flagman
  • 416
  • 6
  • 24