Docker & K8

Explore Docker, the standard of containerizationiscover articles, tips, and tricks to master Docker and enhance your application development and deployment. Unleash the power of containers with me!


Let’s do this step-by-step. We’ll break it into two main phases: Phase 1: Continuous Integration (CI). We’ll set up a workflow where git push automatically builds and publishes your app’s Docker image. Phase 2: Continuous Deployment (CD). We’ll install a tool in K3s tha...

Why Helm Charts are So Useful Think of Helm as apt or brew for Kubernetes. You’ve just seen that deploying even a « simple » app like WordPress requires at least 5-6 separate YAML files (Deployment, Service for WP, Deployment, Service for MySQL, Secret, PVCs, Ingress). Helm bundles all of ...

Setting Up WireGuard with Docker Compose You can deploy WireGuard easily using Docker Compose. Below is an example of a docker-compose.yml file. Modify it to suit your needs. This configuration creates a WireGuard container that listens on UDP port 51820 and maps it to the container’s internal por...

Understanding Docker Entrypoints, Dockerfiles, and Environment Variables with Node.js Docker has become an essential tool for developers looking to build, ship, and run applications consistently across different environments. In this article, we will explore how to use Dockerfiles, entrypoints, and ...

Docker-compose is a powerful tool for managing multi-container Docker applications. In this article, we’ll explore how to set up a MySQL database using Docker-compose and tackle common issues that may arise during setup. We’ll cover troubleshooting steps for errors such as « not allowe...

Create the docker container docker run --name varnish -p 3456:80 varnish This command runs a Docker container named « varnish » using the « varnish » image. It maps port 3456 on the host to port 80 in the container, allowing access to the containerized varnish service. Start the container do...

What is the Docker Default Bridge Network? When you install Docker, a default bridge network named « bridge » is automatically created. This network serves as the foundation for container networking and offers essential features for developers. Container Isolation The default bridge network is d...

Installer les containers Le plus simple est d’utiliser un fichier docker-compose.yml Créez le fichier docker-compose.yml suivant à la racine de votre projet. php_apache: image: webdevops/php-apache:7.1 links: - db:mysql ports: - 8989:80 volumes: - ./:/app/ - ./php.ini/:/opt/docker/etc/php/ph...