.. _docker:

======
Docker
======

Resources
=========

- `Principles of container-based application design <https://www.redhat.com/en/resources/cloud-native-container-design-whitepaper>`_ -
  Becoming good cloud-native citizens
- `On-demand activation of Docker containers with systemd <https://developer.atlassian.com/blog/2015/03/docker-systemd-socket-activation/>`_
- `Docker build patterns <https://matthiasnoback.nl/2017/04/docker-build-patterns/>`_ -
  Patterns for using containers during the build process

Workflow
--------

- `Source-to-Image <https://github.com/openshift/source-to-image>`_ (S2I) -
  Framework for building reproducible container images from source code
- `repo2docker <https://repo2docker.readthedocs.io>`_ -
  Build, run, and push Docker images from source code repositories
- `3 Musketeers <https://3musketeers.io/>`_ -
  General pattern designed for consistency & repeatability.
  Make for orchestration, Docker/Docker Compose for execution.