Here you'll find a Docker image to run devpi with. It is based on the official Python images.
Run a devpi container:
$ docker run --rm -it -p 3141:3141 mattupstate/devpi
This will run devpi as if you were to run it yourself with the following options:
$ devpi-server --host 0.0.0.0 --port 3141 --restrict-modify root --serverdir /data
Once your container is running, verify you can reach devpi:
$ curl http://localhost:3141/root/pypi/+simple/
Optionally, you may want to mount a volume to devpi or perhaps run it detached:
$ docker run --name devpi -p 3141:3141 -v /var/lib/devpi:/data mattupstate/devpi
Content type
Image
Digest
sha256:c3d8999d1…
Size
328.7 MB
Last updated
almost 11 years ago
docker pull mattupstate/devpi