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