This is an old revision of the document!
Docker on Debian
Prerequisites
I use Debian testing/jessie (now stable), and put sid into sources.list so I can apt-get install docker.io, because docker.io
removed from testing in late March 2015 and available only in sid.
Update your packages list
# apt-get update
Just install docker.io with:
# apt-get install docker.io
Creating Docker Image
Use mkimage.sh to create Docker image
$ sudo /usr/share/docker.io/contrib/mkimage.sh -t ${USER}/minbase debootstrap --variant=minbase jessie http://yourrepo/debian/
Try to run 'echo'
$ sudo docker.io run -i ${USER}/minbase echo "hello citra"
Frequently Used Commands
Show images:
# docker images
Show all running containers:
# docker ps -a
Remove image:
# docker rmi <image>
doc/docker.1430050184.txt.gz · Last modified: 2015/04/26 12:09 by
stwn · [
Old revisions]