Master Docker in One Hour: Zero to Hero Guide

AGT Development
18 followers
57 Video Views·Oct 8, 2025
Ready to master Docker in just one hour? This Zero to Hero guide will teach you everything you need to know to become a Docker pro in no time!
Learn Docker in 60 minutes from scratch! In this video, we'll take you on a journey to learn Docker from the basics to advanced concepts. Docker is a popular containerization platform that allows developers to package, ship, and run applications in containers. By the end of this video, you'll have a solid understanding of Docker fundamentals, including Dockerfiles, Docker Compose, Docker Swarm, and more. Whether you're a beginner or an experienced developer, this video is perfect for anyone looking to learn Docker quickly and efficiently. So, let's get started and learn Docker in 60 minutes!
Welcome to the Docker super essential
course. We on a brief train to learn
Docker where TTU the essentials of this
technology. Docker is a set of platforms
as a service products that use operating system
level virtualization to deliver
software in a package scaled containers.
Containers are isolators from each
others and bundle the software libraries
and configuration files. It's a wi us
visualization technology. My name is
André Vieira. Welcome and happy
learning. Hello everyone. In this
lecture we will learn the essentials of
Docker through a short intensive
course. Okay.
And what is Docker? Docker is an open
source platform for running applications
in an isolated environment calider
container.
Containerization allows multiple
applications to function in different
complex
environments. For example,
doc database on different operation
systems such as Windows, Linux and
MacOS. A big difference the database
will not be installed directly on the
operation system but isolate
environment.
Doc developers to create a container
image file comprising system libraries
tool code and the other software
configurators required by each
microservice. Each microservice has it
docker image that can run on different
operating systems. imply
operation
systems and what is a docker container
the container is not more than isolated
environment arranged on the server which
shares a single control host they are
lightweight and portable which means
they can move anywhere regardless of the
operation systems or hosting
environment. They bundle the software,
libraries and configuring files and
can communicate with each other through
wellde defined channels. A container
room by a single operating system kernel
and therefore uses a few resources than
virtual
machines. It container has a function
and it's a responsibility.
If damage the system does not stop the
functioning and the affected function is
red to a new
container. Ok. And what is a docker
image? A docker image is an executable
file used to create a container. This
container images contain deliveries,
dependencies and the files that contain.
The image is sharable and portable. So
you can deploy the same image to
multiple locations at the same time just
like a software binary
file. It container is created from image
and can be customized with specific
settings and environment
variables. See the figure alongside we
have a docker image that serves as a
template for the containers.
containers one containers container
instant
individual the
imager rub docker rub is a service
provided by docker for finding and sharing containers images
road largest repositor of
containers images with array and
sources include community developers
open source projects and independent
software vendors building and
distributing the code in
containers you can find several images
to use in your project such as SQL
server Post SQL Angul Kafka and
others ok and what is a docker composed
Docker compos to
fortainer applications on docker defined
using the compos file
format. A compos file is used to define
how one or more containers that make up
your applications are
configured. Once you have a composed
file you can create and start your
application with a single command.
Docker compose app just
this in the example below we have a
docker compose with settings for generating
a postg
image parameters are provided for
customizing the image which can be
downloaded from docker
hub in this docker compose we have the
version services the name of image
environments param environments the
port and the other
params you can customize docker compose
file to download more than one
image. Okay. And what is Kubernet? Kubanet
is an open source product user to
automate the deployment, scaling and
management container
applications. It groups containers that
make up an application in the logical
units to facilitate management and
service discovery.
Make all tasks associated with deploying
and managing your application easier by
offering automation container
orchestration improves container
rehabilitated and reduces the timings and
the result is allocated to dated
operations.
concept a functional example let's
go. Let's say your company is working on
developing a winning sales website using
the following technology stack postgree
SQL as database.
API as the sales back end Angular for
the front end interface Cafka for
messaging elastic search for optimizing the
product search engine and Python for
machine learning through recommendation
service. The site has a balanced
number of assembly sales but some periods
with the high numbers of
customers. Periods such as winter,
Christmas and Black Friday are a major
challenge for the company due to the
large volume of
access. Ok.
Going to
example one big super server installing
all these technologies on a single server is
completely infeible
it may be necessary to invest
heavily in the high performance
equipment but this will be difficult to
manage to the different software
used if it does not serve redundancy the
figure
along the server was common the past but
is no longer good
today multiple
servers using different servers for each
technology is a common
strategy but occasion will have
process to Christmas and many customers are
accessing the website to resist
prices but not yet make it a
pure the company brand is growing
after the pandemic period new
visitors as new investment in the
technological
infrastructure the
involved in the front end backend quite stressed
some service are idol
for this example we will constantly need
to evaluate the balance of physical
resources of the equipment which can be a hug
challenge the figure
alongside service markets in red are
under stress service markets in green have
processing
availability new equipment de balance
process can be a big investment
example virtualized
environment virtualizing technologies on
service is an interesting path as it
facilitates scalability sharing of
hardware resources and administration in
the event of an increasing insisting access
volume resource will organized isolated
environments with the possibility of
grouping the same hardware
resources. This strategy is useful for
balancing and scaling hardware
resources. In this example, we have
three servers, three groups. The first
group, Java, Angular and Python back end
and front end applications the second
group just the elastic search. In the
third group we have two applications K
and
PG in this configuration the backend and
front end servers are isolated from the
database servers. If the first server
appears degraded to the processing
volume that is due to the large number
of containers simply improve its
configuration. Ok. If our company
chooses the third example as the
architecture of the wine sales
website has the following overview of
the application in the virtualized contain
environment the application use for
container
management technologies download from
git hub and tr a compos
file in this figure have the docker hub
represented
downloads
hubet
administration of
images in
containers example of using other associated
technologies and the
benefits the first one
scalability docker application to scale
quickly more containers as needed means
applications can easily handle spike in traffic
or demand without compromising
performance for the wine history
example more back End containers will be
instantaneous during peak access periods
in the system there are still
protected and the last
efficiency multiple applications room
simultaneously on the same system
without conflicting dependencies or
libraries this helps save system
resources and increase efficiency
additionally
To the end docker versus virtual
machine docker and virtual machine serves
a similar purpose the
performance and the operation system
support differ
significantly containers virtualize the
operation system so that the application
can run dependently
virtual
machines virtual
machines hard resources efficiently.
Hello everybody and in this lecture you
will learn a list of basic docker
comments that use your
training. To start open Linux terminal
with the shortcut case control plus out
plus letter T in your
keyboard. You see the screen like
that. Let's
go. We start by checking weather dock.
correctly
for
terminal
sudo
doc
version
enter there
not i have the 24.0.5
Five version on my
computer. Okay. Remembering what we learned
in the last lecture. Dock is an open
source platform that facilitates the
creation and administration of isolated
environments. It makes it possible to
package an applicator or environment
with a container.
Make it portable to any other host that
has docker
installed. A Docker image contains the
application code, libraries, dependencies
on other elements necessary for the
product to
run. After installing Docker, you can
download preconfigured application
images from Docker Hub. Docker Hubber is
a centralized register for Docker images
and allows you to find, download and use
images created by others. To download a
docker image, simply run the following
command. Pseudo docker run.
Hello
road. Enter.
This is made us for demonstration
purpose only. A first example of MA
downloading. So what's happening
here? We have collided the docker room
command which is responsible for
launching containers. The argument hello
world is the name of the image created
dock hub for us. It will first search
for hello world image locally and then
search in docker hubber. Not that the
docker image was not filed and it will be
downloaded and installed next.
Once the image has been downloaded,
Docker turns the image into the Ry
container and executes
it. Ok. To check whether the hell image
was actually installed simple
type sudo docker images
hello road. Enter.
We have the name of the repository, a
label, the image ID, create date, and
the disc size will be
displayed. Shall we download another
image? This time
WordPress. Let's go. sudo, docker, run
road
press. Enter. The room commands the
WordPress image and execute it
afterwards. It may take a few seconds
depending on your
network. Finished. The image has been
downloaded and is ringing in a container.
For my machine, pass can be accessed on
IP
172
1702. Let see it in the
browser.
Go to WordPress.
Note that it is not necessary to stanciate
a dedicated Linux machine just for the
world price application. It is ring in a
space containing my machine. This
containing image contains all the librers
dependencies and the files that the
container needs
room. Very interesting. What do you
think about this? Good.
The objective in your course is not to
learn
WordPress. Example for learning. I will
type control leather seat on my keyboard
and the room will stop. The service
stopped. Ok. And now
clear images just type the command.
Sudo docker
images. We have two images. The name of
the repository label the image ID
created and date and the disc size will be
displayed. WordPress and hello word two
images. You can also list images with
the command.
sudo doc
image
ls the result will be the
same let's continue remembering the last
lectory a container isolated environment a
container contains a set of process
from image which provides all necessary files
containers share the same kernel
in isolate
containers
type
sudo docker ps
min a
enter and have all the containers like
to the
images wordpress and hello root [Music]
container image
command created status port
name the status field is very
important it display which images are
running not that words no long running excited
let's continue to download a
container
sudo doc
p
sentinux
distributioncentoscentos
Linux
distribution
download is no container
associated this can be proving if I use
the
command sudo docker ps minus
a cent will not be displayed but if
launch the image Liston Cest will be
displayed that is associator container
as we have
room sudo
docker images
everything is
ok WordPress hello world and cent images
three images and now let's start the
WordPress image by creating a container
Sudokia images WordPress, hello world
and
Cas and we have
two
containers hello world and WordPress.
This is the idea of it
image is the idea
of it
container. And this is the name of it
container. Start the
container. Sudo docker
psudocker start.
The ID of container or the name of the
container. Let's buy
ID.
Ok. Pudo docker
PS min
A. We have two containers in the
status. Hello,
excited and WordPress.
The WordPress is
ringing in the browser refresh and WordPress is
running if I want to list on AC
containers just type sudo docker ps
just deactive
containers just WordPress WordPress is
active hello
A parameter at the end of the command
line
again sudo docker ps min a ao
containers sudo docker
ps enter only the container active just
this And now if I want to stop a
container from
running just type sudo
dock stop and the ID or the name of
container. The WordPress container is
running app.
Sudodocker PS- A status
excited. WordPress is
excited. Hello world
excited. Now I will start the container
by name. Tudo
doc
start and WordPress by
name
start status app the
browser WordPress is
app stoper
Top in the
name of
container. Stop it. The
browser
stopped. As the name is generic.
contain with interest for
that
sudoque
rename the old name world
pass and the new
name my
app
wordpress you can customize the name.
I'm so sorry. The name of the
container is
this strange yellow. Generic
name.
Ok. Pseudocker
ps. In the name of WordPress. The image
is WordPress. The name the container is
my app
WordPress sudo docker start
the new name of container my app WordPress
the container is running to test the browser
I
refresh that's ok
now sudoder
Stop the new name of
container. Stopped. The
browser
stopped. Hello everyone. In last
lecture, we learned some basic docker
commands for downloading images and
creating container instances.
Operations on how to list renaming and
room containers are essentials in
continuous use during daily
activities. In this lecture we will
learn other basics and advances and
activities for ruining and manipulating
containers. Let's go in your keyboard.
Press control plus out plus leather T.
The terminal is
open. First, let's list the
containers. sudo
docker
ps min
A. We have two containers. Hello Word
and WordPress.
Remember we have three
images. Sudo, docker,
images, WordPress, hello root, and sent
os and now we learn how to instantiate
the centos container access the internal
content in interactive mode. When we
talk about interactive mode, we are
referring to
the
flags. The allow to connect our terminal
internally with the container
application. The commands will be
executed inside the container and not on
your machine for that sudo
doc run
minus it the name of container sent
os
bash
enter analyze the common prompt
cont of the
folder ls min
la
[Music]
enter yes we are inside the
container batch
[Music]
mode create file
my
file d
txt
enter inside the
file write a simple taste example
like test one two th
enter and press contrl
Control letter
Cboard. Ok.
And to check if the file was created run the
command
ls-
LA the file my
file txtd was
created the contents of the created file
run
get
my
file dt txt.
The file was created the test
entered. Worked test one
two ok the file was created inside the
container. To exit the container use the
command
exit. That's
cool. Let's check the containers
created.
Sudo Docker PS Minus
A WordPress H and Cos
container
ok container displayed
but giving a generic
name sudo do rename
and the new name
enter sudodocker ps-
a and we have the container
centos with the
My app
centos.
Ok. The state is up that is with the
containing running we can activate it
again in interactive
mode. sudo
doc minus
it the name of container.
P
COS
F enter.
Look for the file created
prev
ls-
l and the file my file txt
the file is deployed
live in the
container exit attentional
the next command is
important execute enter interactive mode doc exec
minus
it the name of
container
my app cos LS
L
enter.
Oops.
Sudoc.
Okay. If the command prompt I'm
umto. The result displayed was from
centerest container.
It's important to know how to execute
internal commands with the container
from operation system prompt the
doc is very
important as a second example let's list
the contents of the txt file created in
centos sudo doc
minus
The name of
container the name isPOS
and the Linux Command in
emos container.
Ã,
cat
my file dot
txt.
Enter. Ok.
Test
one content of my
filet.xt. Let's
[Music]
go. Learn a lot of commands. Continue.
You are tired. No, let's continue it. To
display low level information about a
container rong sudo doc.
name
con idea created
the status of
container the image
id
driver host
config out informations
level connect the
container let see another
command if I want to check statistical
data for a certain container I can use
the common
docker sudo docker stats the name of
container a
pipos
enter name of container CPU percentage
us memory
used limit of memory memory in
percentage
container
keyboard control
plus and we back to the command
prompt shall learn another
command Which was where I saw the log
information for
specifico docker
logs the name of
container my
app
sent
enter and see the
details in the history we
executed ls
la
cat
ls-
result cat my f txt
result the common comm exit
the historical
Another example
ls minus
la another
result sudor docker logs my
appos just the commons
inside
the
mypos ls
SL in my terminal
buunto was not
displayed. The log command is very
important to reveal old executions in
my console.
is very important to know
about some is necessary to stop all
containers now we have just one container running sudo doc ps min a
just stop
containers
sudo docker kill dollar
parênes
sudo inside the relatives
ps minus
q ops
Sudo
docineros
skill s docker ps
min cos stopped
excited hello world and the wordpress was
excited all the containers are stopped
Well, this with stops are running
containers. If there were 10 containers
running, it would stop
[Music]
then. Okay, let's learn another
comment. If the container is no longer
useful and you want to remove it, simply type
the
command sudo doc RM.
The name of
container
example the hello
world. Enter.
sudo
dock
PS-
A and
container hello world was
removed it works if I enter the ID of
the image in the name of image
sudo doc
r and the id of the
image of my pp
wordpress
enterord doc ps min
a image
wordpressis remove
sudo docker
rmppos enter sudoder ps
min we don't have more containers all containers
are
removed at finish if the image is no
longer useful
[Music]
doc
r the name of
images
before sudo dock
images we have three images doc hello
world
hundreds has
sudo docker
name
word
removed don't have more
wordpress r
of
major the ID of hello world imageodocker
image hello word was
removed then suer
docker rmi the
name of centos
S dock image. We don't have more
images. I can remove by ID or by
naming. Be careful the command for the
letter images and containers are
similar.
Use RM for containers and RMI for
images. A lot of comments, correct? To
consolidate a suggestion by executing
all comments again. It's a great way to
develop. There are some applications
where is it possible to perform all
these commands in graphical mode?
suggest learning via com
line it seems more
understanding helps with
learning about memorizing the are
many guides on the internet that
help if you forget I have made guideable
that can be accessed in the
next
class. I hope these lessons help in your
work
activities. We learn the essential
commands for working with docker images
and
containers. I believe this will be the
initial steps to advance in this
technology.
Thank you for participating in
discourse.
