Phil's Slides
ScotlandJS 2015 Docker talk: http://www.slideshare.net/eeeep/docker-fire-your-sysadmin-and-use-docker-to-build-ship-and-run-any-app-anywhere-scotlandjs
Getting Started with Docker
- Online tutorial, 10 minutes in your browser: https://www.docker.com/tryit/
- Install guide: https://docs.docker.com/installation/
A Dose of "the Hoff"
David Hasselhoff's new video: https://www.youtube.com/watch?v=ZTidn2dBYbY
Doing Stuff with Docker
Command | Description |
---|---|
docker version |
Does Docker work?! |
docker search tutorial |
Search for premade image from Docker Hub. |
docker pull learn/tutorial |
Download the image |
docker run learn/tutorial echo "hello world" |
Run the command echo "hello world" in tutorial . |
docker run learn/tutorial ps -l |
Check out the processes in the container. |
docker run -t -i ubuntu /bin/bash |
Start a shell in the ubuntu container. |
docker run ubuntu apt-get install -y ping |
Install ping (without having to type "yes"). |
docker commit {HASH/NAME} learn/ping |
Save an container learn/ping . |
docker push learn/ping |
Push the learn/ping image to Docker Hub. |
docker images |
List all your local images. |
docker ps |
List all your running containers. |
docker ps -a |
List all your containers. |
docker rmi learn/ping |
Remove an image. |
docker rm {HASH/NAME} |
Remove a container. |
More Reading on Docker
- An overview of what Docker is: https://www.docker.com/whatisdocker/
- A good collection of intro videos: http://opensource.com/business/15/5/must-watch-docker-videos
- A simple article guiding you through your first steps: https://serversforhackers.com/getting-started-with-docker
- The Dockerfile documentation: https://docs.docker.com/reference/builder/
- Criticism of Docker, the company: http://www.wired.com/2014/12/google-others-eye-new-alternative-docker-cloud-computings-next-big-thing/
- Security criticism of containers and VMs: http://www.vitavonni.de/blog/201503/2015031201-the-sad-state-of-sysadmin-in-the-age-of-containers.html
- The technology behind Docker: http://en.wikipedia.org/wiki/LXC
- In-depth Docker command reference: https://github.com/wsargent/docker-cheat-sheet