= Docker = * Presentation: [[http://chimeracoder.github.io/docker-without-docker/#1|Docker without Docker]] == systemd and docker == * [[http://container-solutions.com/running-docker-containers-with-systemd/|Running Docker containers with systemd]]: Describes interfacing systemd and docker directly, along with the systemd-docker wrapper. * [[https://gist.github.com/Luzifer/7c54c8b0b61da450d10258f0abd3c917|Running docker-compose as a systemd service]] * [[http://container-transform.readthedocs.io/en/latest/|container-transform tool]] == DNS == How does the host figure out DNS for containers? * [[https://hub.docker.com/r/mgood/resolvable/|resolvable]]: integrates w/ systemd to make Docker containers have DNS. * [[https://github.com/larsks/dnsthing|larsks/dnsthing]] listens to Docker's events stream and creates a hosts file. == Open vSwitch and Multi == Open vSwitch, pre-Docker swarm: * [[http://www.openvswitch.org//support/dist-docs-2.5/INSTALL.Docker.md.html|How to Use Open vSwitch with Docker]] * [[https://goldmann.pl/blog/2014/01/21/connecting-docker-containers-on-multiple-hosts/|Connecting Docker containers on multiple hosts]] (old) == Stuff I never remember == === Inspect containers === {{{#!highlight sh numbers=off # Shell into a new copy of a container docker run -it --entrypoint=/bin/sh ${IMAGE} # Shell into a running container docker exec -it ${CONTAINER_ID} /bin/sh }}}