There are many resources online, many great ones even free to learn Docker
But what is the path to learning Docker from Zero, so you can choose your own videos/articles?
Here is the path I suggest in 10 steps.
Let's see them together:
...
1) Understanding WHAT it is and what it isn't, what are the building blocks of it
2) Understanding what containerization is and why it is so important. Differences Containers/Virtual Machines
3) Install Docker on your operating system and make sure it works (`docker info`)
...
4) Take a look at "Docker Hub" and make a bit of practice using one image there (eg Nginx) and understand the basic commands: start/stop/list containers.
5) Understand how the components are made and their configuration: commands inspect/exec/logs.
-d: Run in detached mode
-e: Set new environment variable
--env-file: use an external file for env variables
-i: Keep the Standard Input open
-t: pseudo Terminal (TTY)
-u: define a user for the command
-w: define a working dir inside the container
...
The most common use case:
Use the exec command to get inside a running container
Example:
`docker exec -it <container_id> bash`
This works for most of the containers running based on Linux images
and me, because I create content about it every single day.
WHAT is Docker?
A container technology, a platform to build and manage containers.
You package the code with all the dependencies you need in order to run your application everywhere in a smart, reliable way.
Think about it as a Mountain Backpack, you can bring with you