A simple docker container that runs Devpi
Visit project page on the docker hub at: https://hub.docker.com/r/saxix/devpi/
This container provides:
The preferred way (but using most bandwidth for the initial image) is to get our docker trusted build like this:
docker pull saxix/devpi
To build the image yourself without apt-cacher (also consumes more bandwidth since deb packages need to be refetched each time you build) do:
docker build -t saxix/devpi git://github.com/saxix/devpi
To build fron source code you need to clone this repo locally
git clone git://github.com/saxix/devpi
docker build -t saxix/devpi .
Devpi creates a user named root by default, its password can be set with
DEVPI_PASSWORD environment variable.
Other variables are:
To create a running container do:
$ docker run --detach -p 3141:3141 --restart=always -v <DATA_DIR>:/mnt saxix/devpi
$ docker run --rm -v <DATA_DIR>:/data -v <EXPORT_DIR>:/export saxix/devpi:<OLD_VERSION> export
$ docker run --rm -v <DATA_DIR>:/data -v <EXPORT_DIR>:/export saxix/devpi:latest import
Content type
Image
Digest
Size
31.8 MB
Last updated
over 8 years ago
docker pull saxix/devpi