What are Docker compose, registries and repositories

In this post i will describe what are docker comose, registries and repositories:

  • Docker compose:
    • Compose is a tool for defining and running multi-container Docker applications. With compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.
  • Repositories:
    • A Docker repository is where you can store 1 or more versions of a specific Docker image. An image can have 1 or more versions (tags).
  • Registries:
    • A registry stores a collection of repositories. It is composed of an ip and a port accessible to access the repositories.
    • The most command line to create your own registry is: docker run -d -p 5000:5000 –name registry registry:2