How Docker Repository works

If you have looked into Docker, you will have heard about the Docker Repository and may have wondered what it is. Make yourself comfortable as we explain everything in detail in this mini guide. A Docker repository is a container that contains one or more Docker images relating to a particular piece of software or project. Why are there multiple Docker images if the software is the same? Because you can have multiple versions of a piece of software. Each time the software developer releases a new version, it creates a new Docker Image, with the same name, but with.

(more...)

How to install Docker on Windows

Windows is perhaps the operating system that requires more attention when installing Docker. There are some prerequisites that need to be taken into consideration.   Supported Windows versions Before installing Docker for Windows make sure you have a compatible version of Windows. Currently the supported versions are: Windows 10 64-bit: Home, Pro, Enterprise, or Education, version 1903 (Build 18362 or higher). Windows Subsystem for Linux As described in the official Docker documentation, you need to install the “Windows Subsystem for Linux” before installing Docker on Windows.

(more...)

How Docker works: structure and functioning

In recent years, Docker has earned an important place in the daily lives of developers. Let’s go take an overview of this tool and find out how Docker works behind the scenes. Features of Docker One of the most important features Docker offers is instant startup time. A Docker container can be started in a fraction of the minimum time. This is a very fast action that is incomparable with the minutes it takes to start a virtual machine. Docker uses the features of the Linux kernel for booting and interacting with containers. Due to this dependence on the Linux.

(more...)

How to use Docker Compose

Docker Compose is one of the most useful tools for developers and sysadmins. In fact, most IT jobs require knowledge of Docker and Docker Compose. Knowing how to use these technologies will undoubtedly be an advantage in continuing your career. What is Docker compose? In a nutshell, Docker Compose is a tool that allows you to manage multiple Docker containers. Do you remember micro-services, i.e. the concept of dividing a web application into different services? Well, these services run in individual containers that must be managed and must be configured to communicate with each other. Docker compose allows you to.

(more...)

How to create a container with Docker

Let’s continue with our guides dedicated to Docker. Today we’ll take a detailed look at a topic that is really fundamental for anyone involved in web development: Docker containers. A container is the running instance of an application in an isolated environment that is dynamically allocated resources to run. Inside it, the container has the application to run and everything it needs: runtime, libraries, configuration, etc. What is the difference between an image and a container? A docker image is a static package containing all the resources necessary to run an application.

(more...)

How to create an optimal Docker environment

In order to develop software, it is necessary to have a local environment with all the available services needed to run the application being developed correctly. For example, if you are developing a web application with Symfony, you will need to have a webserver such as Apache or Nginx, a PHP interpreter and probably a database on which to save data, such as Postgre or MySql.

(more...)

How to create a package using Docker

When we talk about packages, we generally refer to scalable aggregated blocks of software or libraries. In fact, a package can be used by multiple applications by importing or extending the package itself. Docker is a tool that will make your life as a developer easier. We are talking about an open-source project that can automate the deployment of applications inside software containers; in essence, a platform that will enable you to create, test and distribute applications via containers.

(more...)