Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 374 Bytes

File metadata and controls

29 lines (21 loc) · 374 Bytes

Docker commands

build the image

docker build -t node_app .

Running the image and starting with a shell

docker run --rm -it node_app /bin/sh

Listing images

docker images

Remove all docker images

docker rmi -f $(docker images -q)

Running nginx server

docker run --rm -it -p 3000:80 node_app