Install Llama 2, Meta’s Open Source and Commercializable AI that Competes with Chat GPT for Use with Python and Docker (with GPU Access)

Install Llama 2, Meta’s Open Source and Commercializable AI that Competes with Chat GPT for Use with Python and Docker (with GPU Access)

Tiempo de lectura: 3 minutos Reading time: 3 minutes Hello, today we are going to see how we can install and download llama 2, the AI from Meta that competes with chatgpt 3.5. To do this, I have created a Docker Compose that will help us set up the environment. The first thing we need to do is go to … Read more

Install Llama 2, the Meta Open Source and Commercializable AI that competes with Chat GPT for use with Python and Docker (with GPU access)

Install Llama 2, the Meta Open Source and Commercializable AI that competes with Chat GPT for use with Python and Docker (with GPU access)

Tiempo de lectura: 3 minutos Hello, today we will see how we can install and download llama 2, the Meta AI that competes with chatgpt 3.5. For this, I have created a Docker Compose that will help us set up the environment. The first thing we need to do is go to the llama 2 page and request a version … 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

Create a Dockerfile with PHP + MySQL (MariaDB)

Create a Dockerfile with PHP + MySQL (MariaDB)

Tiempo de lectura: 2 minutos Reading Time: 2 minutes Here’s an example of a Dockerfile to create a web server with PHP and MariaDB: # Define the Docker base image FROM php:7.4-apache # Update package repositories RUN apt-get update # Install necessary dependencies RUN apt-get install -y \ mariadb-client \ libzip-dev \ zip \ unzip # Install required PHP extensions … Read more

Using Kubernetes with Docker

Using Kubernetes with Docker

Tiempo de lectura: 3 minutos Reading Time: 2 minutes Here’s a step-by-step tutorial on how to use Kubernetes with Docker. Step 1: Install Docker and Kubernetes The first thing you need to do is install Docker and Kubernetes on your machine. You can download Docker from its official website and follow the installation instructions for your operating system. To install … Read more

Create a Docker Container with Node.js, MongoDB, Adminer, and NGINX Proxy Manager for SSL using Docker Compose.

Create a Docker Container with Node.js, MongoDB, Adminer, and NGINX Proxy Manager for SSL using Docker Compose.

Tiempo de lectura: 3 minutos Reading time: 3 minutes In this tutorial, you will learn how to create a Docker container that includes Node.js, MongoDB, Adminer, and NGINX Proxy Manager for SSL using Docker Compose. Step 1: Create the docker-compose.yml file First, create a new directory on your computer for the project, and then create a docker-compose.yml file in the … Read more

Docker Compose: NGINX PROXY MANAGER + PHPMYADMIN + MYSQL + FASTAPI (with Python) REST Service

Docker Compose: NGINX PROXY MANAGER + PHPMYADMIN + MYSQL + FASTAPI (with Python) REST Service

Tiempo de lectura: 2 minutos Reading time: 3 minutes In this tutorial, we will show you how to create a Docker container with NGINX Proxy Manager, phpMyAdmin, MySQL, and FastAPI (with Python) using Docker Compose. This will allow you to have a complete stack for web development and API in a single container. Prerequisites Before getting started, you will need … Read more

Docker: Create an Application with Python and MongoDB

Docker: Create an Application with Python and MongoDB

Tiempo de lectura: 2 minutos Reading time: 2 minutes Docker is a software platform that allows developers to create and run applications in containers. Containers are software units that contain everything needed to run an application, including the code, libraries, and dependencies. In this tutorial, I will show you how to use Docker to create a Python application with MongoDB. … Read more

Creating a Docker Container for Python

Creating a Docker Container for Python

Tiempo de lectura: 2 minutos Reading time: 2 minutes Today I’m going to show you how to create a Docker container for Python: Creating a Docker container for Python is an easy way to isolate your Python application and its dependencies in a controlled environment. This way, you can run your application anywhere Docker is installed without worrying about environment … Read more