
Docker
Estas son mis notas de Docker, espero te puedan servir.
Docker is a platform for developers and sysadmins to develop, deploy, and run applications with containers. It allows you to package an application with all of its dependencies into a standardized unit for software development.
Exercises
- 1 - Build an API on a Docker image that is less than 20 MB
In this exercise, we aim to build a lightweight Dockerized API that weighs less than 20 MB. To achieve this, we will use a multi-stage build and Alpine Linux — a minimal base image designed for small containers. Our API will be written in Go.
- 2 - Configuration of volumes for MySQL, PostgreSQL and MariaDB in Docker containers
In this exercise, we will learn how to configure volumes for MySQL, PostgreSQL, and MariaDB in Docker containers. This is essential for data persistence and management in containerized databases.