![]() # ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose We can also create a symbolic link to /usr/bin or any other directory in path. Note: If the command docker-compose fails after installation, check your path. # curl -L `uname -s`-`uname -m` -o /usr/local/bin/docker-compose # dnf install curlĭownload the latest version of Docker Compose. Verify the docker version by executing the following command on terminal: # docker -versionĭocker version 19.03.6, build 369ce74a3c Step 6 – Install Docker Composeĭocker Compose is not available in the CentOS 8 default repository. # systemctl enable docker Step 5 – Verify Docker Installation Install the latest version of docker by executing the following command on terminal: # dnf install docker-ce -nobest Step 4 – Start And Enable DockerĮxecute the following command on the terminal to start and enable docker: # systemctl start docker Then execute the following command on terminal to add Docker-CE repository to system: # dnf config-manager -add-repo= Step 3 – Install Docker Open a terminal and execute the following command on the terminal to update system packages: # dnf update -y Step 2 – Add Docker Repository ![]() Step 7 – Uninstallation Docker Compose Step 1 – Update System Packages.How to Install Docker and Compose on CentOS 8įollow the following steps to install docker and docker compose on centOS 8: In this tutorial, we will show you how to install Docker Compose on CentOS 8. It was first started in 2013 and is developed by Docker The software that hosts the containers is called Docker Engine. The service has both free and premium tiers. Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |