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
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.
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.
In this exercise, we will set up a Docker Swarm cluster with three nodes. Docker Swarm is a native clustering and orchestration tool for Docker containers, allowing you to manage a cluster of Docker engines as a single virtual system.
In this exercise, we will configure an inverse proxy with NGINX for 3 microservices using Docker Compose and Docker Swarm. HAPROXY is a web server that can be used as a reverse proxy, load balancer, and HTTP cache.