Skip to main content

🚀 TL;DR - Docker

·263 words·2 mins· loading · loading · ·
TL;DR docker tldr
mov al, 11
Table of Contents

Docker 🐋

Wow, you don’t know yet what is Docker? Well, let me introduce you this beautiful containerization tool.


  • Container ~= virtual machine

A container is like a virtual machine that runs in background on your computer. It simulates a whole system in the same way.

  • Container > virtual machnie

But, a container is faster, better and stronger than a classical VM. Because it is meant to be fast and light-weight.


Docker uses images to run containers. In short an image is a base container, which will be used by your container – like said – as a base. For example, I want to run an Ubuntu container, my Docker image will be something like:

1FROM ubuntu:latest
3RUN apt update

This file is called a Dockerfile, because it produces the corresponding Docker container when built.

When ran, this image will use the latest Ubuntu image in Docker’s database, amd update it.

You can do so much in a Docker image!

Build & run

Once you made your Dockerfile, you will use it to build your Docker image:

1docker build -t my-image .
  • -t my-image: the tag (or name if you want) to give to your image
  • .: the directory where you put your Dockerfile

You now want to run it!

1docker run my-image

And, voila! Your container is running!



🚀 TL;DR - What is the 'TL;DR' series?
·112 words·1 min· loading · loading
TL;DR storytelling tldr
Setup your database with Docker
·455 words·3 mins· loading · loading
article docker sql walkthrough
Free space on disk for Linux distros
·447 words·3 mins· loading · loading
disk linux partition
📦 HTB - Ready
·435 words·3 mins· loading · loading
HTB htb writeup