5

Does anyone here use docker? Curious to hear their workflows.

Comments
  • 3
    My workflow: Build, tag, push, run, curse, repeat.
  • 1
    Yes, I can't understand why you wouldn't use it. Currently investigating into using it in production.
  • 0
    I think my local development workflow is solid with Docker but Im looking towards more insight on running it in production. My main question is domains and mapping them to the right container since you can map one port 80.
  • 1
    @edgardev - I've been exploring reverse Nginx proxies, but your struggles are seriously one of the major pain points of docker. Combining Docker in AWS with elastic load balancers helps too
  • 1
    @edgardev Right now I have 3 containers running on a CoreOS instance. Nginx, apache/php, and jenkins. I point the domain names to the instance IP and nginx takes care of mapping the domain to each port. I love how it works.
  • 0
    @jirehstudios Interesting. So you have an NGINX container mapping the domains to each container. That works I guess but I wonder if there are any other services that handle that dynamically.
  • 1
    A nice thing to combine docker with is Terraform. It allows you to configure the actual VMs that you want to spin up. Works an absolute dream with AWS. 10 lines of config and you've got an ELB with two EC2 instances. Then you can use the ECS service to deploy your docker containers to the new instances.

    It's good. Heard some people worry about using it in the cloud for production systems though, which is fair enough.
Add Comment