Skip to content
Matt Konda edited this page Jan 9, 2016 · 8 revisions

Docker Machine Setup

docker-machine create -d virtualbox --virtualbox-boot2docker-url=https://github.com/AkihiroSuda/boot2docker/releases/download/v1.9.1-fix1/boot2docker-v1.9.1-fix1.iso --virtualbox-disk-space 20000 patched
eval $(docker-machine env patched)

Removing Images

docker ps -q -a | xargs docker rm
docker images -q | xargs docker rmi

Docker Shell in Pipeline Image

docker run -i -t --entrypoint=/bin/bash owasp/pipeline:0.8

Docker Important Flags

--rm  removes the image after it has completed which is typical case with pipeline.
--name=pipeline will name the image to make it easier to work with
-it   makes the shell interactive and attaches a tty which is needed to prevent Control-C from hanging the image. 
Clone this wiki locally