docker-devpi | A ready to use Docker image for devpi-server | Continuous Deployment library
kandi X-RAY | docker-devpi Summary
kandi X-RAY | docker-devpi Summary
devpi-server, devpi-web and devpi-client.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-devpi
docker-devpi Key Features
docker-devpi Examples and Code Snippets
Community Discussions
Trending Discussions on docker-devpi
QUESTION
I am running devpi in a docker container like so:
...ANSWER
Answered 2020-Jan-20 at 12:22If you don't want to use the --net=host
then you need to open the ports on the machine that is running devpi to allow external clients to connect and use it.
The point is that, when you set the host network to docker it takes their own IP address and then it can bind as many ports you need on that IP address, but if you are not using it your computer is acting as a router for the container and applying a NAT to allow access the internet for outgoing traffic but denying incoming traffic.
Because of that if you don't want to use the host network you have to modify the firewall to add a destination NAT rule and allow the traffic to reach the service.
You have some good examples on how to allow ports on iptables here
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-devpi
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page