As stated by their authors
devpi isn't only PyPi mirror, it can also
be used to:
- uploading, testing and staging
- index inheritance
- web interface and search
- jenkins integration
More details about it's usage can be seen in devpi documentation
This image exposes the port
3141 from where PyPi mirror can be accessed.
Besides that, the volume
/devpi/server is expected to be available, this is
the path where all files from the mirror are served.
To start a server instance one can simply:
docker run -i -t --rm joaodubas/devpi
And this will start devpi server with all the needed defaults.