Skip to content

Instantly share code, notes, and snippets.

@frazei
Created December 14, 2023 11:23
Show Gist options
  • Save frazei/47b9d55091609fbc0cc6f580b1b93810 to your computer and use it in GitHub Desktop.
Save frazei/47b9d55091609fbc0cc6f580b1b93810 to your computer and use it in GitHub Desktop.
Oracle Linux 8 Portainer client

Install Docker

# dnf install -y dnf-utils zip unzip
# dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
# dnf remove -y runc
# dnf install -y docker-ce --nobest

Enable and start the Docker service.

# systemctl enable docker.service
# systemctl start docker.service

Some test:

# systemctl status docker.service
# docker info
# docker version
# docker run hello-world

Disable SELinux

# setenforce 0
# getenforce
Permissive
# vi /etc/selinux/config
SELINUX=disabled
# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          permissive
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment