
Learn what Docker is and why it matters. Compare images and containers, and practice with images, containers, port mapping, and volumes while building Dockerfiles and dockerizing a Flask app.
Explore how Docker packages and runs applications inside containers, ensuring consistent libraries and dependencies across environments. Learn why Docker simplifies deployment by eliminating environment differences.
Contrast docker images and containers: images are static, immutable templates with code and dependencies, while containers are running instances created from those images via docker run.
Learn to list, pull, and remove Docker images using docker images, docker pull, and docker rmi, while understanding tags, image IDs, and Docker Hub storage.
Learn to run docker containers with docker run, list them with docker ps, and stop, remove containers and images with docker stop, docker rm, and docker rmi.
Explore how to execute commands inside a running docker container using docker exec. Compare this with docker run for creating containers from images like ubuntu and nginx.
Run a container in attach mode by default, with the console connected to the container’s process. Use docker run -d to detach and docker attach to attach again.
Discover port mapping in Docker to expose container applications on the Docker host, using the -p option to bind host ports to container ports, enabling external access.
Learn how docker volumes persist data across containers and how to mount them. Use docker volume create, inspect, list, and remove to manage volumes, including MySQL and Jenkins home.
Learn how containers store data and why without Docker volumes you lose changes. Discover persisting data with Docker volumes by mounting a volume to a new container.
Mount the Jenkins home volume to a container with the -v option to persist data, creating the Jenkins home volume if needed and reusing it across containers.
Learn to build a docker image using a dockerfile, starting from a from instruction and adding run, env, and copy steps, then build and tag with docker build.
Create a Docker image for a Flask app, configure a Dockerfile with Python Alpine, install dependencies from requirements.txt, and run the app in a container accessible at localhost:5000.
Learn how to push a docker image to Docker Hub by tagging the image with your Docker Hub username, logging in, and pushing it to your repository.
Explore Kubernetes architecture from master node with API server, control manager, and scheduler to worker nodes hosting containers and pods via kubelet, cube proxy, and Nkd database, deployed by kubectl.
Compare containers and pods: docker run creates a container on a container engine, while Kubernetes uses pods to encapsulate containers, with main and helper containers, scalable by adding pods.
Discover YAML basics, a readable data serialization language for configuration files used in ci/cd pipelines and Kubernetes, and learn key value pairs, dictionaries, lists, and indentation.
Docker is a powerful tool for packaging, shipping and running applications in docker containers. It makes the process of deploying application super easy.
Deploying an application with docker is as easy as running a simple docker run command
This course will take you in a step-by-step way to start working the docker cli to manage docker containers, docker images and to build your own docker images
By taking this course you will have the required skills that you need to start building your own images and playing with docker container, learn advanced docker topics or learn one the orchestration tools like Docker Swarm, MESOS or Kubernetes which is the most popular orchestration tool
Requirements for this Course:
Basic Linux knowledge
Who this course is for:
The course is for developers who wants to start learning the DevOps tool known as Docker
This course is ideal for people who are new to DevOps and who want to start their career in DevOps
What you’ll learn
what is docker and why we need it?
Docker images VS docker containers
Working with docker images
Working with docker containers
Working with docker volumes
Build your own docker image
Store your docker images in your Dockerhub account