DEV Community

Discussion on: Be careful with Docker ports!

Collapse
 
acidiney profile image
Acidiney Dias

In the same way i have used docker run -it -v mongodata:/data/db -p 127.0.0.1:27017:27017 --name mongodb -d mongo to solve ufw security issue problem