Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose port security #1600

Open
MathijsNL opened this issue Apr 2, 2024 · 1 comment
Open

Docker compose port security #1600

MathijsNL opened this issue Apr 2, 2024 · 1 comment

Comments

@MathijsNL
Copy link
Contributor

Just want your opinion on this. On some distros it is default behavior to make docker ports that are listening on 0.0.0.0 available to the outside world.

In case this doesn't happen those ports will likely be exposed to at least an internal network.

I would propose to change all listening ip addresses from 0.0.0.0 to 127.0.0.1.

This would be more secure by default. Let me know your thoughts and I can create PR for it if you want.

@oss-maintainer-12
Copy link
Contributor

@MathijsNL this sounds like a good point, we would be happy to review a PR regarding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants