...
Install the EPEL release.
Download the latest EPEL package
curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Install the downloaded RPM
yum install epel-release-latest-7.noarch.rpm
If running Red Hat, enable the server extras repository:
subscription-manager repos --enable=rhel-7-server-extras-rpms
Download Kubic Repo for Podman 3.
Note: Though this repo points to a SUSE Linux repo location, it is the official location podman has chosen to publish the RPM for RHEL/CentOS 7.Code Block language bash [root@scs-rhel ~]# curl -L "https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/CentOS_7/devel:kubic:libcontainers:stable.repo" -o "/etc/yum.repos.d/devel:kubic:libcontainers:stable.repo" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 403 100 403 0 0 655 0 --:--:-- --:--:-- --:--:-- 655 100 404 100 404 0 0 549 0 --:--:-- --:--:-- --:--:-- 549 100 405 100 405 0 0 473 0 --:--:-- --:--:-- --:--:-- 473 100 359 100 359 0 0 366 0 --:--:-- --:--:-- --:--:-- 366 [root@scs-rhel ~]# ls -l /etc/yum.repos.d/ total 340 drwxr-xr-x. 2 root root 4096 Mar 17 14:33 ./ drwxr-xr-x. 77 root root 4096 Mar 17 13:24 ../ -rw-r--r--. 1 root root 359 Mar 17 14:33 devel:kubic:libcontainers:stable.repo -rw-r--r--. 1 root root 1358 Sep 4 2021 epel.repo -rw-r--r--. 1 root root 1457 Sep 4 2021 epel-testing.repo -rw-r--r--. 1 root root 325697 Mar 17 13:08 redhat.repo [root@scs-rhel ~]# cat /etc/yum.repos.d/devel\:kubic\:libcontainers\:stable.repo [devel_kubic_libcontainers_stable] name=Stable Releases of Upstream github.com/containers packages (CentOS_7) type=rpm-md baseurl=https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/ gpgcheck=1 gpgkey=https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/repodata/repomd.xml.key enabled=1 [root@scs-rhel ~]#
Create this path in root home folder
Code Block mkdir /root/datacore
Copy
podman_packages.tar
and place into folder create in previous stepExtract the file in the
podman_packages.tar
Code Block [root@zorc1 datacore]# tar xvvf podman_packages.tar drwxr-xr-x root/root 0 2022-05-31 05:27 podman_packages/ -rw-r--r-- root/root 22009328 2022-05-31 05:25 podman_packages/podman-3.0.1-2.el7.3.1.x86_64.rpm -rw-r--r-- root/root 2572172 2022-05-31 05:25 podman_packages/podman-plugins-3.0.1-2.el7.3.1.x86_64.rpm -rw-r--r-- root/root 339264 2022-05-31 05:26 podman_packages/catatonit-0.1.5-1.el7.6.1.x86_64.rpm -rw-r--r-- root/root 40400 2022-05-31 05:26 podman_packages/conmon-2.1.0-2.3.1.x86_64.rpm -rw-r--r-- root/root 37888444 2022-05-31 05:26 podman_packages/containernetworking-plugins-1.1.1-1.el7.2.1.x86_64.rpm -rw-r--r-- root/root 89680 2022-05-31 05:26 podman_packages/containernetworking-plugins-unit-test-devel-1.1.1-1.el7.2.1.x86_64.rpm -rw-r--r-- root/root 16927216 2022-05-31 05:26 podman_packages/cri-tools-1.21.0-.el7.3.3.x86_64.rpm -rw-r--r-- root/root 69676 2022-05-31 05:26 podman_packages/fuse-overlayfs-1.5.0-1.el7.5.1.x86_64.rpm -rw-r--r-- root/root 5836152 2022-05-31 05:26 podman_packages/runc-1.0.1-1.el7.1.1.x86_64.rpm -rw-r--r-- root/root 12610384 2022-05-31 05:26 podman_packages/skopeo-1.4.1-1.el7.3.1.x86_64.rpm -rw-r--r-- root/root 56404 2022-05-31 05:26 podman_packages/skopeo-tests-1.4.1-1.el7.3.1.x86_64.rpm drwxr-xr-x root/root 0 2022-05-31 05:27 podman_packages/repodata/ -rw-r--r-- root/root 4730 2022-05-31 05:27 podman_packages/repodata/2ada7f5ac7099e31c79b90ad90adc0efa13c5f6101a44fbfd06f27ed17548324-other.sqlite.bz2 -rw-r--r-- root/root 2759 2022-05-31 05:27 podman_packages/repodata/fc8d49da48cff8a2f5b1815353f283992f50c787240ff795f8cb86195d5ab88f-other.xml.gz -rw-r--r-- root/root 6341 2022-05-31 05:27 podman_packages/repodata/fa7e866b76f379c77b785878811b3edf546576d0b6ea650300c98efce99c0d3a-filelists.sqlite.bz2 -rw-r--r-- root/root 3302 2022-05-31 05:27 podman_packages/repodata/8784e815f651b512ad3b490ee947454f63e366ebcb498e024651f05ec06d8bb2-filelists.xml.gz -rw-r--r-- root/root 14938 2022-05-31 05:27 podman_packages/repodata/832aacbe4e539b0f3a20cfae379be8f8e85ca3521eb211644dcf5a807c9d982b-primary.sqlite.bz2 -rw-r--r-- root/root 7731 2022-05-31 05:27 podman_packages/repodata/fd8a765aedf92cb89ad10e785f49828883adde45b23774fe07bd56550c1ba0b0-primary.xml.gz -rw-r--r-- root/root 2976 2022-05-31 05:27 podman_packages/repodata/repomd.xml
(Note: This results in the folder “podman_packages” being created in the
../root/datacore
folder.)Add a new local repo spec with this path, with the file content as show below (
/etc/yum.repos.d/podman.repo
):Code Block [podman] name=Dependencies for install podman 3.0.1 baseurl=file:///root/datacore/podman_packages enabled=true gpgcheck=0
Enable the local repo on:
CentOS (no additional steps required, this should show the repo as enabled)
Code Block yum repolist enabled
Red Hat
Code Block yum config-manager enable podman.repo yum repolist enabled
Also verify that Kubic is listed as an enabled repo when using
yum repolist enabled
per above.Install SCS build
yum -y install swarm-scs-1.1.0-1.x86_64.rpm
.Check the
scsctl help
command to verify the SCS is installed.Code Block language bash usage: scsctl [-v | --info-log | --debug-log | --trace-log] [--user USER | --token TOKEN] options: ... Provides basic control and visibility into the Platform service. optional arguments: --user USER User name and (optionally) password. If password is included, then this must be in the form "{user_name}:{password}" (default: None) --token TOKEN Authentication token. (default: None) output options: These options affect the way output is displayed. -v, --verbose Increase output verbosity (ex: -v, -vv, -vvv). Verbose output is always sent to stdout. (default: None) --info-log Set info-level verbosity (equivalent to -v). (default: None) --debug-log Set debug-level verbosity (equivalent to -vv). (default: None) --trace-log Set trace-level verbosity (equivalent to -vvv). (default: None) subcommands: Which action you wish to perform. To get detailed help, add 'help' to the end. For example: 'scsctl auth help' options: auth Manages persisted credentials for contacting the Platform API. backup Manages backing up and restoring the Platform service. diagnostics Performs diagnostics on the Platform server setup. init Utilities for setting up a Swarm environment. license Manages the license for this Swarm ecosystem installation. repo Manages the Platform repository. The repository contains installed component versions and other third-party software. system Performs administrative operations on the system. help Outputs this help and exits. ERROR: Cannot connect to the Platform API service at 172.16.33.10:8095. Please ensure the service is up and running.
...