Installing Docker
Table: Installing container platform
|
Platform
|
Description
|
|---|
|
Docker on Ubuntu |
Supported version: Docker 18.03 and later
Refer to the following documentation for instructions on installing Docker on Ubuntu:
https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository
|
|
Docker on RHEL
|
Supported version: Docker 1.13.x and later
Use the following process to install Docker on RHEL. Steps may vary depending on whether CloudPoint is being deployed on-premise or in the cloud.
(If CloudPoint is being deployed in AWS cloud) Ensure that you enable the extra repos:
# sudo yum-config-manager --enable rhui-REGION-rhel-server-extras
(If CloudPoint 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
(If CloudPoint is being deployed in Azure cloud) Enable shared mounts. Edit the docker.service system unit file and modify the parameter MountFlags=slave to MountFlags=shared. Save and close the unit file and then verify the change using the following command:
# cat /usr/lib/systemd/system/docker.service | grep MountFlags
The output should appear as MountFlags=shared.
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.
Refer to the following for detailed instructions on installing Docker on RHEL:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_atomic_host/7/html-single/getting_started_with_containers/index#getting_docker_in_rhel_7
|
|