Aditya's Corner 🚀

18 Mar 2023

Useful docker commands

  • Fetch and run docker image
docker run -it python:3.9
  • Build docker image using Dockerfile in current directory.
docker build -t test:pandas .
  • This will make image based on your docker file and tag it with name test:pandas So that you can run same as
docker run -it test:pandas