Skip to content

Instantly share code, notes, and snippets.

@dejanu
Last active March 13, 2025 20:03
Show Gist options
  • Save dejanu/a7d4ad6340c5eae5130a964b592f3b75 to your computer and use it in GitHub Desktop.
Save dejanu/a7d4ad6340c5eae5130a964b592f3b75 to your computer and use it in GitHub Desktop.
RoadMap

Intro

Docker

  • After Docker installation, we have the hello world for containers. Using docker CLI we can do:
# list all containers from your machine (by all we mean running and also stopped). 
# The output should be empty (since there are no containers which have been ran)
docker ps -a

# list all images from your machine. 
# The output should be empty (since there are no images pulled on your machine)
docker images

# run your first container. 
# The container engine tried to find an image named hello-world, and it did not find it, 
# therefore it goes to its default Docker registry, which is Docker Hub, to look for an image named “hello-world
# It finds the image there, pulls it down, and then runs it in a container
docker run hello-world

# rerun commands. What are the changes ?
docker ps -a
docker images
  • What is a container here
  • Flow: Using a Dockerfile we build a Docker image, and using a Docker image we start/run a container.
flowchart LR;
		Dockerfile-->Image;
		Image-->Container;
Loading

Kubernetes


⚠️ Avoid being stuck in tutorial hell and always use the official documentation

💻 Hands-on here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment