The following are important commands given, These commands are most used when we are working to containerize our application.
✔docker version – Shows the current Docker version installed on the system.
✔docker info – Displays information about the current Docker installation and configuration.
✔docker run – Runs a Docker container.
✔docker ps – Lists the currently running Docker containers.
✔docker images – Lists the Docker images available on the system.
✔docker pull – Downloads a Docker image from a Docker registry.
✔docker push – Uploads a Docker image to a Docker registry.
✔docker build – Builds a Docker image from a Dockerfile.
✔docker tag – Tags a Docker image with a name that can be used for uploading to a Docker registry.
✔docker commit – Creates a new Docker image from a running container.
✔docker start – Starts a stopped Docker container.
✔docker stop – Stops a running Docker container.
✔docker restart – Restarts a running Docker container.
✔docker rm – Removes a stopped Docker container.
✔docker rmi – Removes a Docker image.
✔docker logs – Displays the logs of a running Docker container.
✔docker inspect – Returns low-level information on a Docker object (container, image, network, etc.)
✔docker network – Manages Docker networks.
✔docker volume – Manages Docker volumes.
✔docker-compose – Manages multi-container Docker applications.
✔docker search – To search dockerHub for images
✔docker exec – To interact with running command via bash shell