Auth0 Home Blog Docs

Use Docker to Create a Node Development Environment

Leverage Docker images and containers to create an isolated Node development environment that runs a server.

Read on >>

1 Like

So this doesn’t work for me when I use docker-compose run, but does work when I use docker run. When using docker-compose I always get “Site can’t be reached”.

You have to use “–service-ports” with “docker-compose run …” Otherwise, the ports aren’t exposed and mapped. This post should be edited to reflect that fact.


Yep that fixed it. Thanks!

Great catch! That was on oversight on my part. Thank you for helping out @unclejustin :grinning: I was out sick these past days.
I will be updating the post right away :slight_smile:

Do you have any developers using Windows? Concurrent file access with host mounted volumes appears to be a problem experienced in Docker for Windows:

1 Like

@jzamor Thank you for bringing up this concern! I am currently in the process of researching Docker in a Windows environment and also Windows Containers. I am waiting for a few resources to line up to be able to provision a native Windows OS :pray: Please stay tuned and thank you for reading :muscle: