Snakes-on-a-plane is a set of docker containers for running docker when you have no or restricted internet connectivity -- like when you are on an airplane. A container for a local docker registry exists, but other pieces of infrastructure are necessary to run with limited connectivity.
Development on this began during the Docker Hackathon 2014-10-30.
The project is scoped to have three parts:
- local pypi mirror
Working with python requires access to a pypi repository. Without internet access, this is not possible.
- local ubuntu apt-get server
Similarly, working with an ubuntu image commonly requires ubuntu packages. Having an alternative apt service with a populated cache would make this possible.
- local yum repo
The same applies to working with Centos and yum packages.
Initial single-host implementation
- Find python pypi package
- localshop
- devpy
- Dockerfile
2.1. Create basic Dockerfile that installs pypi and requirements
2.2. Perform init actions
2.3. Add EXPOSE, USER, and VOLUME statements
- Scripts to build and run docker containers
- Set ports and volumes
Multiple-host implementation
-
Upgrade database to use postgresql
-
Upgrade web server to nginx
-
Add fig file
- localshop
- postgresql
- nginx
Miscellaneous
- Change from upstart to supervisord