Skip to content
Discussion options

You must be logged in to vote

I would not recommend using --net=host unless you really need it.
I think using allow_host_loopback=true is the easiest solution. Security wise, it depends on whether you have something running on 127.0.0.1 that the container should not be allowed to connect to.
Using a UDS might be the most secure since you could limit this to one port but I am not sure how complicated this setup is, SELinux could also cause problems in this case.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by eriksjolund
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants