Skip to content

nischay-chauhan/docker-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Docker

In this project i am implementing the basic knowdledge of dockers and all.

Commands

  • To make a container
docker buiild -t <image_name>
  • to run the docker
docker run -v "$(pwd)":/app -p 3000:3000 -d --name node-app <image_name>
node-app-image
  • to remove the docker
docker rm node-app -f 
  • for "read-only" mount so that files inside "/app" can be read and not modifies
docker run -v "$(pwd)":/app:ro -p 3000:3000 -d --name node-app <image_name>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published