Skip to main content

Day 16- Docker for DevOps Engineer

Published 2 min readMarkdown
Day 16- Docker for DevOps Engineer

Hello Readers 👩‍💻👩‍💻

It's my #day16 of #90daysofDevopsChallenge

Topics for #day16

✅Docker

✅Archiecture of Docker

✅Components of Docker

✅Installation of Docker and Important Commands

✅Task for Day 16

Docker

Docker is an open-source centralized platform to create deploy and run applications. Docker uses the container on the host OS to run applications. It allows using the same Linux kernel on the System rather than creating a virtual OS. It's written in the GO language.

Architecture of Docker

Components of Docker

Docker Daemon-

Docker Daemon runs on the Host OS. It's responsible for running and managing the docker service.

Docker Client

Docker users can interact with docker Daemon through a client. It uses commands and Rest APIs to communicate with the docker daemon.

Docker Host

It provides an environment to run and execute applications. It contains the docker daemon, images, containers, network and storage.

Docker Hub/Registry

It manages and stores the docker images.

Docker Images

A docker image is a file that contains all the necessary files, dependencies, and configuration settings to create a containerized application.

Docker Container

A Docker container is a lightweight, standalone, and executable package that contains everything needed to run a piece of software, including the application code, runtime, system tools, libraries, and settings.

Installation of Docker and Basic Commands

Installing docker in Ubuntu

To download images from docker-hub to local machine

To view the Images present in the local machine

To check whether the service is started or stopped

To Stop the Service

To start the Service

Tasks

Docker ps

This command will list all the running containers

Docker run

The docker run command to start a new container and interact with it through the command line.

Docker images

It will display all the available images

Docker inspect

The docker inspect command to view detailed information about a container or image.

Docker Stats

The docker stats command to view resource usage statistics for one or more containers.

Docker Save

The docker save command to save an image to a tar archive.

Docker Load

The docker load command to load an image from a tar archive.


I appreciate you taking the time to read my blog, and I hope you found it informative. If you found the content useful, please consider giving it a like, sharing it with others, and following me for more similar posts in the future. Thank you for your support!

Linkedin Profile-https://www.linkedin.com/in/shreyakhangan/

No comments yet. Be the first to comment.

More from this blog