6 private links
Resolv dns using host dnsmasq
docker run --rm -ti --name=build -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.6 sh -c 'go get; go build -v server.go'
Use CUDA in a docker container
The image is only 5 MB and has access to a package repository that is much more complete than other minimal base images.
Docker 1.9 includes for the first time the concept of the "Container Network Model". Read more on CNM. Basically, CNM is about creating small, micro-segmented networks for groups of containers to communicate over.
AppArmor profile generator for docker containers. Basically a better AppArmor profile, than creating one by hand, because who would ever do that.
nginx-proxy sets up a container running nginx and docker-gen. docker-gen generates reverse proxy configs for nginx and reloads nginx when containers are started and stopped.
When you have a Dockerfile that contains a FROM directive, you are creating a parent/child relationship in your image building process.
The simpliest way to think about the ONBUILD command is that it is like an instruction given from a parent to a child.
Desktop application running on docker
docker run -ti --rm \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
firefox
see also: https://blog.bearstech.com/2014/10/isolation-par-docker.html
The problem at hand is that with Docker, containers have different IP addresses on start. Even after a successful data migration or simply a restart of your container, you need to propagate that new information. For example let your app container know that the database changed IP address.