Docker
Explore Docker – the future of containerization. Discover articles, tips, and tricks to master Docker and enhance your application development and deployment. Unleash the power of containers with me!
Minio Server (Port 9000) The service running on port 9000 is the primary Minio server. This is the main entry point for interacting with the Minio object storage system. Here are its key functions: Object Storage Service: This is where you can upload, download, and manage your objects (files) in the...
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 ...
Create a Dockerfile Create a Dockerfile in your project : FROM arm64v8/node:14-alpine WORKDIR /app COPY . . # If you have native dependencies, you'll need extra tools # RUN apk add --no-cache make gcc g++ python RUN apk update && apk upgrade RUN apk add curl RUN npm install EXPOSE 8181 CMD [...
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...
What’s docker-compose ? Docker Compose is a tool that simplifies the management of multi-container Docker applications. It allows users to define and run multiple Docker containers as a single application, making it easier to orchestrate and manage complex deployments. With Docker Compose, use...
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...
Le setup est extrêmement simple, il vous faudra l’accès à votre serveur Linux Debian ou Ubuntu. Il faudra aussi installer Apache2 si ce n’est pas déjà fait. Déployez votre code sur le serveur Je ne vais pas détailler ici la méthode pour téléverser votre code sur votre propre se...
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...