Install Prerequisites Softwares
Before Proceeding with installing the softwares, Check the Requirements here.
The following docker installation steps are for reference only, you can use your own approach.
Ubuntu
The ssh user has privileges(root/sudo) user doesn't have privileges for install/upgrade utility softwares
Platform Instance
- Install wget
- Install python3.
Add Docker's official GPG key
Add docker repository to Apt source
To upgrade or Install the latest version of Docker
- Run the following command to list available versions
- Run the following command to Install the specific version of Docker in ubuntu 20.04
- Example in ubuntu 22.x
Install Docker using WaveMaker Script
For the Ubuntu users, to install Docker to the latest version that supports WaveMaker, the user need to use their own approach or WaveMaker provides a script to install.
- Run the following command to install the Docker.
StudioWorkspace Instance / AppDeployment Instance
- No need to do any configurations. The Platform will do it automatically.
The ssh user does not have privileges install/upgrade utility software
Platform Instance
StudioWorkspace Instance / AppDeployment Instance
The given ssh user does not have permission to install software Then install below as per the operating system.
- If the user given to the Platform doesn't have privileged access, then provide below permission for the user given on StudioWorkspace Instance / AppDeployment Instance.
- Create a user group if not present in StudioWorkspace Instance / AppDeployment Instance .
Have to execute these commands from privileged users.
- Add user to the docker group.
- Make the user as an owner for the docker systemd process.
- data directory should be owned by the user.
- Give permission to manage docker.service, systemctl daemon-reload, iptable.
RHEL
The ssh user has privileges (root/sudo) or user doesn't have privileges for install/upgrade utility softwares
Platform Instance and StudioWorkspace Instance / AppDeployment Instance
If given ssh user has privileges (root/sudo) or the user doesn't have privileges to install/upgrade. WME Installer will automatically install the Docker software.
Install below prerequisites in Platform
update cache
- Install wget
- Install container-selinux for RHEL 7 version only
Install the latest version of Docker
- Install prerequisites to install Docker in RHEL7
- To Install Docker in RHEL 7 use the following commands
- To Install Docker in RHEL 8 use the following commands
- To Install Docker in RHEL 9 use the following commands
Install python3
Extra configuration on RHEL Platform Instance if ssh user doesn't have privileges(non sudo users)
- If the user doesn't have privileged access, then provide the below permissions to the user.
Extra configurations on RHEL StudioWorkspace Instance / AppDeployment Instance if ssh user doesn't have privileges(non sudo users)
- If the user given to the Platform doesn't have privileged access, then provide below permission for the user given on StudioWorkspace Instance / AppDeployment Instance.
- Create a user group if not present in StudioWorkspace Instance / AppDeployment Instance .
Have to execute these commands as a privileged user.
- Add user to the docker group.
- Make a user the owner of the docker systemd process
- data directory should be owned by the user.
- Give permission to manage docker.service, systemctl daemon-reload, iptable.