This repository gives you a quick introduction to getting docker running with Node. It is intended for the Docker beginner.
You can adapt the same approach to other languages but I chose Node because it's what I use most often.
First, checkout this project locally and then follow these steps:
docker build -t hello-world .docker run -d -p 4001:4000 hello-world-d flag says to run the container in the background (daemon mode).-p flag maps port 4000 from the container to port 4001 on the docker machine.docker ps -adocker logs <container-id>docker port <container-id>open http://$(docker-machine ip default):4001docker-machine command controls the virtual machine that is running Docker on your machine.docker logs <container-id>docker ps -adocker imagesdocker rmi <image-id>docker rm <container-id>brew install tutumPut together by Dana Woodman and released under the MIT license. Have fun!
Content type
Image
Digest
Size
241.2 MB
Last updated
over 5 years ago
docker pull steemit/hello-world