Centos 8 install docker6/9/2023 ![]() In this tutorial, we have learned how to install Docker Compose on CentOS 8. To uninstall Docker Compose using curl by executing the following command on terminal: # rm /usr/local/bin/docker-compose ![]() # docker-compose -versionĭocker-compose version 1.25.4, build 8d51620a Step 7 – Uninstallation Docker Compose # 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 It is from an article with the title of ‘Install Docker and Manage it with Portainer on CENTOS 8 / RHEL 8’ in this link. The reference for portainer installation is also the same. On the other hand, this article will follow up on installing Portainer.
0 Comments
Leave a Reply. |