Skip to content

g404-dev-web/docker-nodejs-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplon Roanne NodeJS Environment with Docker

Requirements

Docker

Get Docker CE for Ubuntu | Docker Documentation

Post-installation steps for Linux | Docker Documentation

Both link setup procedures must be followed. And finally the cli docker-compose :

Install Docker Compose | Docker Documentation

Kitematic

GUI ( Graphical User Interface ) for docker

Releases · docker/kitematic · GitHub

Setup

# Download the docker image
git clone https://github.com/simplon-roanne/docker-nodejs-helloworld
# Go to the newly created directory
cd docker-nodejs-helloworld

Creating the containers and running them immediatly ( without using Kitematic )

# This will initialize the container and then start it immediatly
docker-compose up 

Creating the container for Kitematic

# This will initialize the container but won't start it
docker-compose up --no-start

Then run Kitematic and start your container.

And then ?

If you see the message : " docker-nodejs | server is listening on 8000 " Then your web server is up : go to http://localhost:8000

About

Hello World - Web Server in NodeJS - Container for Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published