1.

Finally, What Does The Deploy Process Look Like For Dockerized Apps Stored In A Git Repo?

Answer»

It depends how your production environment looks like.

Example deploy process may look like this:

  1. BUILD an app using docker build . in the code directory.
  2. Test an image.
  3. Push the new image out to registry docker push myorg/myimage.
  4. Notify remote app server to pull image from registry and run it (you can also do it directly using some CONFIGURATION management tool).
  5. Swap ports in a http proxy.
  6. Stop the old container.

You can CONSIDER using amazon ELASTIC BEANSTALK with docker or dokku.

Elastic beanstalk is a powerful beast and will do most of deployment for you and provide features such as autoscaling, rolling updates, zero deployment deployments and more.

Dokku is very simple platform as a service similar to heroku.

It depends how your production environment looks like.

Example deploy process may look like this:

You can consider using amazon elastic beanstalk with docker or dokku.

Elastic beanstalk is a powerful beast and will do most of deployment for you and provide features such as autoscaling, rolling updates, zero deployment deployments and more.

Dokku is very simple platform as a service similar to heroku.



Discussion

No Comment Found