docker --version
docker build -t talk/nodejsexample:1.0 .
docker run -d -p 9080:9080 talk/nodejsexample:1.0
-
Locally :
curl http://127.0.0.1:9080/
-
Lan
- Get your IP :
ifconfig | grep "inet " | grep -v 127.0.0.1
curl http://<YourIP>:9080
- Get your IP :