Skip to content

gwen21/hellonode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hellonode

docker hello world in node

  • First, build the image:

    docker build -t hellonode .

  • Then create the container

    docker create -p 3000:3000 --name="wonderful_hellonode" hellonode

  • Launch it

    docker start wonderful_hellonode

  • In a browser, go there

    http://<your_ip>:3000

You should see the string "Hello World"

  • Then stop your container

    docker stop wonderful_hellonode

About

docker hello world in node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published