DevOps Classroom notes 02/Sep/2026

Docker componets:

  1. docker client:
  • docker clinet is commandline to communicate docker demon
  1. docker demon
  • its background runing docker as a service
  1. local storage
  • where my images and related data will be stored

install docker

ubuntu os install docker

first create linux machine and connect form you local

ssh -i <private key file path > username@ipaddress

Ex:
ssh -i .\docker_key.pem azureuser@20.46.241.140
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh --dry-run
sudo sh ./get-docker.sh
sudo  newgrp docker
sudo usermod -aG docker $USER
docker ps

Pull image

docker pull <imagename>:<version/tag>

docker pull httpd # tag will pick latest if not mention

docker push imagename:tag

imageName:
<org>/<reponame>/<imagename>:<tag>
<org>/<reponame>/<projectname>/<imagename>:<tag>
<org>/<imagename>:<tag>

smaple file


FROM ubuntu

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%%