DEV Community

Discussion on: Docker 101: Use it with NodeJS in 2020! 📦 🙌 (practical guide)

Collapse
 
doubles078 profile image
Daniel Donohue

So that docker command line docker run -p 3333:3333 docknode is essentially saying map/expose the docker containers port 3333 to the local computers 3333?

Collapse
 
destro_mas profile image
Shahjada Talukdar

The left one is the localhost one.
We can give any unused port there like 4444:3333