Tag: boot2docker

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 my-ruby-app Twitter Great so far – the script completes and the container […]

Docker how to run mongodb in dockerfile

I have a dockerfile that runs a maven build. I am following this guide: https://hub.docker.com/_/maven/ So far in my dockerfile I have this: FROM maven:3-jdk-8-onbuild It runs the build and fails as expected because the integration tests require that the mongodb server on the localhost is running. My question is, what do I write in […]

Installation of system tables failed! boot2docker tutum/mysql mount file volume on Mac OS

I have trouble mounting a volume on tutum/mysql container on Mac OS. I am running boot2docker 1.5 When I run docker run -v $HOME/mysql-data:/var/lib/mysql tutum/mysql /bin/bash -c “/usr/bin/mysql_install_db” i get this error Installation of system tables failed! Examine the logs in /var/lib/mysql for more information. Running the above command also creates an empty $HOME/mysql-data/mysql folder. […]

My docker container was created with no name and no tag

I’m creating a docker image for hakyll compilation. Here’s the dockerfile: FROM haskell:7.10 RUN cabal update && cabal install hakyll This file is in some folder on my D: drive: D:\Haskell\docker\docker-hakyll. I’m using Boot2Docker on Windows to build it. docker images gives me REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE <none> <none> 195a730d8827 33 minutes […]

VirtualBox and Nginx very slowly serving cached static JS and CSS files

Apparently this is a rather known issue: Vagrant/VirtualBox/Apache2 Strange Cache Behaviour, http://smotko.si/nginx-static-file-problem/, https://twitter.com/meinharrd/status/580098162716774400, that attempting to use VirtualBox with Nginx or Apache exhibits buggy behavior (modifying a file will update the contents, but not the length, so making it shorter leads to garbage at the end, and making it longer just truncates at the original […]

Stop recently started container in docker?

docker stop lastContainerName It works fine. I want to stop it using docker ps -l command docker stop | docker ps -l I tried this. Unfortunately docker stop –help getting executed. Am i missing something? How to achieve this? Any Suggestions.

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.

How to ship python application through docker

I just now started using docker. I made a python application using python 2.7. Python code files are in my system and in bitbucket repository. I am able to run that file in my local system through eclipse. Now, how I can run that files in my docker and distribute the python application to other […]

running tcpreplay with docker and boot2docker

I’m working on a netflow logger and I want to setup some automated performance testing. I want to take my testing pcap and replay it to my program from within a docker image running under boot2docker. The networking side of this is stumping me. I can access my desktop (the machine hosting the boot2docker vm) […]

Docker: Strider CD dashboard assets broken on installation

System OSX 10.9.5 Docker version 1.4.1, build 5bc2ff8 Image niallo/strider (latest) a51ba391459b Goal Setup a docker instance as per this guide First attempt I followed the guide steps, but when I ran the final image: docker run -d -p 3000:3000 -p 27000:27017 -p 44:22 niallo/strider I was not able to access the dashboard through localhost […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.