lightweight, portable, self-sufficient containers from any application. The same container that a developer builds and tests on a laptop can run at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more. • Tem como base o LXC
• O kernel monta o rootfs como read-only, checa sua integridade e faz montagem como read-write • No docker funciona assim: • O kernel monta o rootfs como read-only, depois outro filesystem é montado como read-write em cima do rootfs • Union File System
no Heroku • https://devcenter.heroku.com/articles/getting-started- with-django • dj-database-url • dj-static ou o static3 com um middleware wsgi • honcho (clone do foreman em python)
• https://docs.docker.io/en/latest/use/ workingwithrepository/#private-repositories • Evitar em produção, containers do tipo: nginx + mysql + memcached + gunicorn • Em produção, o container deve rodar apenas o processo da aplicação • configurações via variáveis de ambiente