DevOps Classroom notes 29/Nov/2025

Docker components

  • When we install docker we get the following components
    • docker client
    • docker daemon
    • local storage
  • client => command line application
  • Docker can be installed on
    • windows
    • linux
    • mac

Play with docker

Getting used to cli

  • docker info:
    • client
    • server
  • To run a container we need a image.
  • Docker hub is a registry. Registry is collection of Repositories, Where each repository refers to an image (application/os)
  • To manage versions image has tags
  • Docker hub naming conventions:
    • official images: <image-name>:<tag>
    • other images: <account>/<image-name>:<tag>
  • If the tag is not provided docker will use a default
  • To run a container we need to have image locally
  • To check the images locally command is
docker images
docker image ls
Act as a terminal with docker installed, when i type any docker command explain what it does, why and where it is used and give me some examples 
  • Prompt 2
Act as a docker expert, I will give you the situation or scenario which i want to acheive using docker, Give me which cli to use and expand on explanations and examples
  • What are the containers that are running
  • what are the containers that are stopped
  • Remove the container
  • Exercise:
    • run the tomcat container
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%