一、部署
# docker run -d --name devpi-lib -p 7104:7104 --env DEVPISERVER_HOST=0.0.0.0 --env DEVPISERVER_PORT=7104 --env DEVPISERVER_ROOT_PASSWORD=password --env DEVPISERVER_USER=lowinli --env DEVPISERVER_PASSWORD=password --env DEVPISERVER_MIRROR_INDEX=pypi --env DEVPISERVER_LIB_INDEX=devpi --env SOURCE_MIRROR_URL=https://mirrors.aliyun.com/pypi/simple --restart always --volume devpi:/var/lib/devpi dhub.kubesre.xyz/lowinli98/devpi:v0.1
二、访问
三、使用
# pip3.8 install -r requirements.txt -i http://root:password@192.168.110.30:7104/root/pypi --trusted-host 192.168.110.30 --default-timeout=100