Arto's Notes re:
Docker
Templates
Dockerfile
FROM alpine:3.7
LABEL maintainer="Arto Bendiken <[email protected]>"
VOLUME /srv
ENTRYPOINT ["/bin/sh"]
Installation
Installation on macOS
- https://store.docker.com/editions/community/docker-ce-desktop-mac
- https://docs.docker.com/docker-for-mac/install/
Installation on Ubuntu
Installation on Ubuntu 16.04
$ sudo apt install docker.io docker-compose
$ sudo adduser $USER docker # log out and back in
$ docker info
Tutorials
Best Practices
- https://docs.docker.com/develop/dev-best-practices/
- https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
Reference
Commands
$ docker version
$ docker image ls
$ docker container ls --all
Tools
Images
- https://hub.docker.com/_/alpine/
- https://hub.docker.com/_/busybox/
- https://hub.docker.com/_/ubuntu/
- https://hub.docker.com/_/ubuntu-upstart/
- https://hub.docker.com/_/crux/
- https://hub.docker.com/_/postgres/
- https://hub.docker.com/_/mysql/
- https://hub.docker.com/_/nginx/
- https://hub.docker.com/_/scratch/