Docker Beginner Tutorial 10 - What are Docker Containers | How to create Docker Containers

Опубликовано: 28 Сентябрь 2024
на канале: Automation Step by Step
252,054
2.2k

Hi, I am Raghav and Today we will learn :
1. What are Containers
2. How to create Containers
3. How to start / stop Containers
4. Basic Commands

TIPS & TRICKS

What are Containers:
Containers are running instances of Docker Images

COMMANDS
: docker ps
: docker run ImageName
: docker start ContainerName/ID
: docker stop ContainerName/ID

: docker pause ContainerName/ID
: docker unpause ContainerName/ID

: docker top ContainerName/ID
: docker stats ContainerName/ID

: docker attach ContainerName/ID

: docker kill ContainerName/ID
: docker rm ContainerName/ID

: docker history ImageName/ID

References:
https://www.google.co.in/search?rlz=1...

https://docs.docker.com/engine/refere...

Notes

A container image is a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run it: code, runtime, system tools, system libraries, settings.

Features of Containers:

Are lightweight

Fewer resources are used

Booting of containers is very fast

Can start, stop, kill, remove containers easily and quickly

Operating System resources can be shared within Docker

Containers run on the same machine sharing the same Operating system Kernel, this makes it faster

You can use the command
docker container create
to create a container in stopped state
_____________________________________________________________

#DockerContainers #WhatIsDocker #DockerTutorials #DockerTraining #DevOpsTools #DevOpsTraining #DockerCommands #DockerForBeginners #DockerFreeTutorials #DockerforDevOps

DOCKER PLAYLIST
   • Docker  

YOUTUBE PLAYLIST
   / @raghavpal  

YOUTUBE
   / automationstepbystep  

FACEBOOK
  / automationstepbystep  

TWITTER
  / automationsbs  

If you like videos on the channel Automation Step by Step, hit the like button and share with others.

Click the SUBSCRIBE button and hit the bell icon to keep getting new videos.

_______ ONLINE COURSES TO LEARN _______

Visit - https://automationstepbystep.com/

----------- Follow -----------
Youtube -    / automationstepbystep  

Share your knowledge with everyone and,
Never Stop Learning
Raghav
https://automationstepbystep.com/