Watchtower to Automatically Update Your Docker Containers Using Docker Compose

Watchtower to Automatically Update Your Docker Containers Using Docker Compose

Tiempo de lectura: 3 minutos Reading time: 3 minutes Hello, today we are going to see how we can automatically update our Docker containers using Watchtower. Step 1: Installation of Docker and Docker Compose Before we begin, make sure you have Docker and Docker Compose installed on your system. You can follow the official Docker instructions to install these tools … Read more

Install Docker and Docker Compose on Raspberry Pi

Install Docker and Docker Compose on Raspberry Pi

Tiempo de lectura: < 1 minuto Reading time: 2 minutes Hello, today we are going to see how we can install Docker and Docker Compose on a Raspberry Pi. The first thing we need to do is run this command to update the OS resources: sudo apt update sudo apt upgrade First, we install these dependencies necessary to install the Docker … Read more

Install Photoprism to Store Photos like Google Photos on a Raspberry Pi with Docker Compose

Install Photoprism to Store Photos like Google Photos on a Raspberry Pi with Docker Compose

Tiempo de lectura: 2 minutos Reading time: 2 minutes Hello, today we are going to deploy a Photoprism Docker container to store images like Google Photos on a Raspberry Pi. The first thing we are going to do is create this docker-compose.yml file: version: ‘3.5’ services: photoprism: image: photoprism/photoprism:latest restart: unless-stopped security_opt: – seccomp:unconfined – apparmor:unconfined ports: – 8098:2342 environment: … Read more

Benotes: Container to Store Website Links or Bookmarks and Add Notes with Docker

Benotes: Container to Store Website Links or Bookmarks and Add Notes with Docker

Tiempo de lectura: 2 minutos Reading time: 2 minutes Today we’re going to see how we can deploy a container to store notes or links to our interesting websites or projects. Based on benotes (https://github.com/fr0tt/benotes_docker-compose) The first thing we need to do is create this Docker Compose: version: “3.6” services: benotes_app: container_name: benotes_app image: fr0tt/benotes:2.7.0-beta restart: unless-stopped environment: DB_CONNECTION: ${DB_CONNECTION} … Read more

Install Home Assistant on Raspberry Pi with Docker Compose

Install Home Assistant on Raspberry Pi with Docker Compose

Tiempo de lectura: 2 minutos Reading time: 2 minutes Today we are going to see how we can install Home Assistant on a Raspberry Pi using Docker. The first thing we need to have ready is the installation of Docker on our Raspberry Pi: https://devcodelight.com/desplegar-servidor-web-apache-con-docker-compose/ We are going to use this structure: Once installed, we will need to create this … Read more

Create Flutter Environment with Docker Compose to Generate Web/Android/Linux Builds

Create Flutter Environment with Docker Compose to Generate Web/Android/Linux Builds

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Hello everyone, today we are going to see how we can create a Flutter environment using Docker containers that will allow us to generate a build of our project. This environment will allow us to both develop and generate an APK or web with our Flutter project. The first thing ... Read more

Limiting RAM, CPU, or Disk Space for Docker Containers using Docker Compose

Limiting RAM, CPU, or Disk Space for Docker Containers using Docker Compose

Tiempo de lectura: 2 minutos Reading time: 3 minutes In Docker Compose, you can limit the RAM, disk space, and CPU usage of containers to prevent them from consuming excessive resources on the system. Here’s a tutorial on limiting RAM, disk space, and CPU usage in Docker Compose containers. Step 1: Create the docker-compose.yml file First, you need to create … Read more

Install Loki Plugin for Docker on ARM64

Install Loki Plugin for Docker on ARM64

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute When we install the Loki plugin for Docker on ARM64, we encounter an error. To solve this, we need to do the following: First, we install the plugin to create the directories: docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions Now, we install GO: Go outside the Docker folder and execute: ... Read more

Fixing ‘Call to undefined function imagecreatefromjpeg()’ error in PHP Docker container by importing PHP GD extension

Fixing ‘Call to undefined function imagecreatefromjpeg()’ error in PHP Docker container by importing PHP GD extension

Tiempo de lectura: < 1 minuto Reading time: < 1 minutes If we are using image processing functions in PHP, we need to install and enable PHP GD in the Docker container. To do this, we go to our Dockerfile and add the following: # syntax=docker/dockerfile:1 FROM php:7.2.5-apache RUN docker-php-ext-install mysqli RUN docker-php-ext-install pdo_mysql RUN apt-get update && \ apt-get install ... Read more

Adding PDO pdo_mysql Extension in Apache + PHP Docker Container

Adding PDO pdo_mysql Extension in Apache + PHP Docker Container

Tiempo de lectura: 2 minutos Reading time: 2 minutes Today I’m going to show you how to install the PDO pdo_mysql extension to use Codeigniter or RedBeans, etc… We have the following docker-compose.yml file: version: “3.1” services: miservicio_mariadb: image: mariadb container_name: mariadb_container env_file: – ./Dockerfile/mysql.env environment: MYSQL_DATABASE: “db_prueba” MYSQL_USER: “user_prueba” MYSQL_PASSWORD: “pass_mysql” MYSQL_ROOT_PASSWORD: “contra@prueba” volumes: – ./config/mariadb:/var/lib/mysql expose: – 3306 … Read more