Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Yes, I can't understand why you wouldn't use it. Currently investigating into using it in production.
-
edgardev498yI 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.
-
@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
-
@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.
-
edgardev498y@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.
-
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.
Related Rants
Does anyone here use docker? Curious to hear their workflows.
undefined
docker
devops
containers