To illustrate this, an engineer proposes to consider the situation with the launch of the storage of images (Docker Registry) on Docker (v2):
- Run a single instance with Go binary;
- Thus saving disk space capacity;
- The relatively low cost of CPU/memory.
The trouble is that the installation does not find information about the parameters of how this can be done. In fact, the "official" way - use the image Docker. Fortunately, there is a simple script Dockerfile, so that the problem can be solved by using them (the way docker / distribution -> Registry Image -> Dockerfile).
There are other options for work outside Docker. It's about data-stores (temporary storage). Let's say you need to run a cluster or Elasticsearch Galera. Docker-containers offer quick installation that looks pretty tempting.