Public | Automated Build

Last pushed: 2 years ago
Short Description
Container running apache on port 80
Full Description


docker ps -q -a | xargs docker rm
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")

docker images -q --filter "dangling=true" | xargs docker rmi
docker rmi $(docker images -q --filter "dangling=true")


$ boot2docker ssh ip addr show dev eth1

Typically, it is, but it could get changed by Virtualbox's DHCP implementation.

$ boot2docker ip

The VM's Host only interface IP address is:

export DOCKER_HOST=tcp://

Linux, Apache, MySQL, PHP

image exposes ports 80 and 3306

stay attached

docker run --rm -i -t -p 8080:80 -p 3304:3306 --name lamp tutum/lamp
docker run --rm -i -t -p 8080:80 --name lamp tutum/lamp

enable dns networking

docker run --net=host


$ VBoxManage modifyvm "boot2docker-vm" --natdnsproxy1 on
$ VBoxManage modifyvm "boot2docker-vm" --natdnshostresolver1 on    <====

boot2docker up
boot2docker ssh
sudo udhcpc
sudo /etc/init.d/docker restart

Docker Pull Command
Source Repository