![]() Then you can install Docker Compose: pip install docker-compose First of all, install the EPEL repository by executing the command: yum install epel-release Once Docker has been installed, install Docker Compose. Start and enable Docker service: systemctl start rviceĪnd verify your work by checking the status of Docker: systemctl status rvice Yum -y install device-mapper device-mapper-event device-mapper-libs device-mapper-event-libs To install run the following command: yum -y install docker yum clean allĭocker is included by default in the CentOS-Extras repository. First let’s start by ensuring your system is up-to-date. I will show you through the step by step installation Docker Compose on a CentOS 7 server. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. In other words we can say docker compose is used to link multiple containers and deploy application from a single command. Docker Compose is a command line tool to define and configure multi-container docker applications.
0 Comments
Leave a Reply. |