Installing Docker Compose for Linux
This Article Applies to:
- Avast Business On-Premise Console
Install Docker Compose to host the On-Premise Console containers using the following commands.
#dnf config-manager ---add-repo https://download.docker.com/linux/centos/docker-ce.repo
: downloads the docker-ce repositories#dnf makecache
: creates a system cache#dnf -y install docker-ce
: installs docker-ce from the downloaded repositories#systemctl enable docker
: enables Docker services on the device#systemctl start docker
: starts Docker services#dnf -y install python-pip
: installs python-pip repositories, which is a package management tool used to manage and install python packages#pip install –-upgrade pip
: upgrade python pip repositories#pip install docker-compose
: installs the docker-compose command
Additionally, you may wish to grant specific users access to Docker commands. This should also grant access to use docker-compose commands. To do this, enter the following: #usermod -aG docker <user>
, replacing <user> with the name of the user you want to give permissions to.
Once you have Docker installed, you can begin Installing the Avast Business On-Premise Console (Linux).