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

Ejecutar test Selenium en un contenedor Docker Compose

Ejecutar test Selenium en un contenedor Docker Compose

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute Today I’m going to show you how we can run Selenium tests in a Docker container. First, let’s create a Docker Compose container with Selenium (using this image https://github.com/nixel2007/docker-selenium-side-runner) version: '3' services: chromedriver: image: robcherry/docker-chromedriver privileged: true restart: always environment: - CHROMEDRIVER_WHITELISTED_IPS='' # ports: # - '4444:4444' selenium-side-runner: image: nixel2007/docker-selenium-side-runner ... Read more

Crear un contenedor de Expo (EAS) con Docker para generar Build Android para React Native

Crear un contenedor de Expo (EAS) con Docker para generar Build Android para React Native

Tiempo de lectura: 2 minutos Reading time: 3 minutes Hello, today we are going to see how we can create a Docker container that generates Android Builds (APKs) locally using React Native. First, we are going to generate our docker-compose.yml file as follows: version: “3.1” services: react_native_dev: build: context: ./Dockerfile dockerfile: react_native restart: unless-stopped container_name: react_native_dev environment: EXPO_CLI_NO_PROMPT: 1 EXPO_TOKEN: … 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

Fix stderr: error: object file .git/objects/ad/… is empty error using JENKINS

Fix stderr: error: object file .git/objects/ad/… is empty error using JENKINS

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Today, I’m going to show you how to fix the error when synchronizing a GIT project with Jenkins, which returns: stderr: error: object file .git/objects/ad/.... is empty error: object file .git/objects/ad/.... is empty This occurs because there is a corrupt file in the Jenkins Git. To fix it, we need ... 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

Uninstall Docker in Ubuntu

Uninstall Docker in Ubuntu

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute To uninstall Docker in Ubuntu, you need to use the following command: dpkg -l grep -i docker A list of installed Docker packages will be displayed: Next, you need to uninstall each package separately. Run the following command: sudo apt-get purge -y docker-compose-plugin Finally, execute this command: sudo apt autoremove ... 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