Dockerizing a Python Web App
blogs.aws.amazon.com
Dockerizing a Python Web App
1–10 of 13 posts
Re: Dockerizing a Python Web App
#2Re: Dockerizing a Python Web App
#3Can someone please explain what is the purpose of this. Why dockerize a python app vs. just running on a Linux instance. Also, do you get forever hooked on Amazon services in the process?
Re: Dockerizing a Python Web App
#4Can someone please explain what is the purpose of this. Why dockerize a python app vs. just running on a Linux instance. Also, do you get forever hooked on Amazon services in the process?
edit: I have not used containers with amazon web services but it is really nice to have on my VPS as virtualization and even paravirtualization are not typically an option.
Re: Dockerizing a Python Web App
#5Can someone please explain what is the purpose of this. Why dockerize a python app vs. just running on a Linux instance. Also, do you get forever hooked on Amazon services in the process?
Re: Dockerizing a Python Web App
#6 MONGO_ID=$(sudo docker run -d -v /srv/pool/db:/srv/data/db:rw jradd/mongodb)
Same usage can apply to postgres, mysql, redis, etc…Re: Dockerizing a Python Web App
#7Can someone please explain what is the purpose of this. Why dockerize a python app vs. just running on a Linux instance. Also, do you get forever hooked on Amazon services in the process?
For a single application, docker doesn't add much except for portability. For a single application with many components, docker adds process isolation (and quotas, and ...).
Re: Dockerizing a Python Web App
#8Can someone please explain what is the purpose of this. Why dockerize a python app vs. just running on a Linux instance. Also, do you get forever hooked on Amazon services in the process?
It's also very useful in deployment, I have different containers for my web, primary worker and mongo replicasets. Combined with Digital Ocean it makes it very easy for me to quickly spin up new servers and set them up as needed with only a few commands. There is also comfort in the fact knowing that I can do the exact same thing on linode without any modification to the container.
Re: Dockerizing a Python Web App
#9Can someone please explain what is the purpose of this. Why dockerize a python app vs. just running on a Linux instance. Also, do you get forever hooked on Amazon services in the process?