An open API service indexing awesome lists of open source software.

https://github.com/msk4862/docker-intro

This is a simple nodeJs project to learn working of Docker containers.
https://github.com/msk4862/docker-intro

docker docker-turorial nodejs-docker

Last synced: 2 months ago
JSON representation

This is a simple nodeJs project to learn working of Docker containers.

Awesome Lists containing this project

README

        

# Docker-Introduction
This is a simple nodeJs project to learn working of Docker containers.

> ### To learn more about docker conatiners you can have a look at this [course](https://btholt.github.io/complete-intro-to-containers/).

## Some docker basic commands
* To show running containers
> `docker ps`
* To downoad any image from [docker hub](https://hub.docker.com/)
> `docker pull `
* Run docker image/container (`-it` flag is for interactive shell)
> `docker run -it `
* To run a specific file in that container
> `docker run -it `
* To build conatiner
> `docker build -t `
* To build conatiner
> `docker build -t `
* To view info about your container
> `docker inspect `
* To expose port while running
> docker run --publish
* To delete docker container
> `docker rm `
* To kill a running container
> `docker kill `
* To view logs
> `docker logs `