Report this

What is the reason for this report?

Why does the Docker one click image expose the docker ports via UFW

Posted on October 11, 2018

In the default configuration of the one-click 18.04 docker image the ports 2375 & 2376 are exposed via UFW.

Is there any reason for this? By default, docker isn’t listening on those ports. And even if it were it seems highly questionable opening up it’s API to the world by default.



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.

This comment has been deleted

Is the API protected via TLS authentication by default? Otherwise that’s trouble waiting to happen.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.