Installing container platform (Docker, Podman)
Table: Installing container platform
|
Platform
|
Description
|
|---|
|
Docker on Ubuntu |
Supported version: Docker 18.09 and later
For detailed instructions on installing the Docker on Ubuntu, see Install Docker Engine on Ubuntu.
|
|
Docker on RHEL 7.x
|
Supported version: Docker 1.13.x and later
Use the following process to install Docker on RHEL. Steps may vary depending on whether NetBackup Snapshot Manager is being deployed on-premise or in the cloud.
(If NetBackup Snapshot Manager is being deployed in AWS cloud) Ensure that you enable the extra repos:
# sudo yum-config-manager --enable rhui-REGION-rhel-server-extras
(If NetBackup Snapshot Manager is being deployed on-premise) Enable your subscriptions:
# sudo subscription-manager register --auto-attach --username=<username> --password=<password>
# subscription-manager repos --enable=rhel-7-server-extras-rpms
# subscription-manager repos --enable=rhel-7-server-optional-rpms
Install Docker using the following command:
# sudo yum -y install docker
Reload the system manager configuration using the following command:
# sudo systemctl daemon-reload
Enable and then restart the docker service using the following commands:
# sudo systemctl enable docker
# sudo systemctl restart docker
If SELinux is enabled, change the mode to permissive mode. Edit the /etc/selinux/config configuration file and modify the SELINUX parameter value to SELINUX=permissive. Reboot the system for the changes to take effect. Verify that the SELinux mode change is in effect using the following command:
# sudo sestatus
The Current Mode parameter value in the command output should appear as permissive.
For detailed instructions on installing Docker on RHEL, see Getting Docker in RHEL 7.
If the docker is using default storage driver (overlay2 or overlay) on XFS backed file system, then ensure that XFS FS has ftype option set to 1. Use xfs_info to verify. For details, see Use the OverlayFS storage driver. Otherwise, you can use different storage driver. For details, see Docker storage drivers.
|
|
Podman on RHEL 8.6 and 8.4
|
Supported version: Podman 4.0.2 and later
Notes:
(If NetBackup Snapshot Manager is being deployed in AWS cloud) Ensure that you enable the extra repos:
# sudo yum-config-manager --enable rhui-REGION-rhel-server-extras
(If NetBackup Snapshot Manager is being deployed on-premise) Enable your subscriptions:
# sudo subscription-manager register --auto-attach --username=<username> --password=<password>
If SELinux is enabled, change the mode to permissive mode. Edit the /etc/selinux/config configuration file and modify the SELINUX parameter value to SELINUX=permissive. Reboot the system for the changes to take effect. Verify that the SELinux mode change is in effect using the following command:
# getenforce
The Current Mode parameter value in the command output should appear as permissive.
Ensure that the following services are enabled and running:
# systemctl enable podman-restart
# systemctl start podman-restart
# systemctl enable podman.socket
# systemctl start podman.socket
|