
Now, install the latest version of Docker CE using the following command: dnf install docker-ce -nobest -y You should get the following list: Available Packagesĭocker-ce.x86_64 3:19.03.11-3.el7 docker-ce-stable Install Docker CEīefore installing Docker CE, run the following command to list the available version of Docker CE: dnf list docker-ce Once the repository is enabled, you can proceed to the next step. You can enable the Docker CE repository using the following command: dnf config-manager - add-repo=https: ///linux/centos/docker-ce.repo So you will need to add Docker CE official repository in your system. Add Docker CE Repositoryīy default, Docker is not officially supported on RHEL 8 / CentOS 8 as it has been replaced with Red Hat tools, buildah and podman. Save and close the file then restart your system to apply the changes. You can disable it by editing /etc/selinux/config file: nano /etc/selinux/config

So you will need to disable the SELinux to allow Docker containers to work internally.


A container is a lightweight, standalone, executable package of software that includes everything needed to run an application.

It uses OS-level virtualization to deliver software in packages called containers. It has become most popular due to the portability to run applications anywhere irrespective of the host operating system. Once done with with SELinux, please head over to and follow the steps as found Installation wizard, where it will explain to you exactly how to proceed with the final part of the install, which is done as admin user through your web browser.Docker is an open-source tool that allows you to create, test and deploy applications inside containers. If you need more SELinux configs, refer to the above-mentioned URL, return to this tutorial. Semanage fcontext - a - t httpd_sys_rw_content_t '/var/semanage fcontext - a - t httpd_sys_rw_content_t '/var/semanage fcontext - a - t httpd_sys_rw_content_t '/var/semanage fcontext - a - t httpd_sys_rw_content_t '/var/www/html/nextcloud/3rdparty/aws/aws-sdk-php/src/data/logs(/.*)?' restorecon - R '/var/www/html/nextcloud/' setsebool - P httpd_can_network_connect on
