DOCKER

 for visual studio code

> Docker Extension

> Prettier Extension


once you have the docker code .

Commands 

docker built .

docker run -p 3000:3000 <imgae_id>

docker run -p (port) <hostport>:<container_port> <image_id/docker_name>

docker ps // lists all running containers

docket stop <docker_name> // it stops the container and shuts it down

docker ps -a

-- interact with the container below

docker run -it node








Comments