Docker file

Table of contents

WHY Docker

docker is basically a devops tool that basically helps us to use the any website or webapp irrespective of the OS and it helps us to …..

Few docker commands are as follows

  • docker ps: Lists running containers.

  • docker run: Creates and starts a new container from an image.

  • docker stop: Stops a running container.

  • docker start: Starts a stopped container.

  • docker restart: Restarts a running container.

  • docker kill: Forces a container to stop.

  • docker exec: Executes a command inside a running container.

0
Subscribe to my newsletter

Read articles from Taranpreet Batra directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Taranpreet Batra
Taranpreet Batra