tl;dr This blog post describes the best way to host private Docker Registry instance on Amazon EC2 and Amazon S3. You can skip the lyrics and go to the 'Resources' section to get the ECS Task Definition JSON.
When working with microservices nowadays you can hardly avoid using Docker. After building your first Docker container your next step woudl be to share it with the world (or your colleauge). To achieve it you have three alternatives:
- Use a Docker Hub or any other SaaS registry.
- Deploy your own instance of open source Docker Registry project (now called 'Distribution').
- Buy an enterprise version of the Docker registry which is based on open source docker registry project with some addons from Docker Inc.
For a small project the Docker Hub 'way' is the best alternative, you can host one 'private' image for free, where commercial pricing plans will allow you to upload more. For a more serious projects we would like to re