There is a fair amount of info out there about Docker over-riding UFW seetings, e.g. UFW is set to block all ports but spinning up a Docker container will allow traffic on a port. DO Support have pointed me towards guidance on this.
However, I am running into the opposite problem: if UFW is enabled, I cannot get to my Docker port. If UFW is disabled, I can get to my Docker port just fine. I would prefer to have UFW enabled and I have used: ufw allow <port-number> … but this is not helping.
Any idea what I need to do?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.