Docker Upgrade
Docker Upgrade
- Manual Docker upgrade is required only when you miss or skip the WaveMaker patch upgrade.
- WaveMaker patch automatically upgrades the Docker if ssh-user has root/sudo privileges in Ubuntu and RHEL OS WME Platform Instance and if ssh-user have root/sudo privileges in Ubuntu StudioWorkspaceInstance/AppDeploymentInstance.
- User needs to upgrade docker if ssh-user doesn't have root/sudo privileges in Ubuntu OS StudioWorkspaceInstance/AppDeploymentInstance and if ssh-user have or doesn't have root/sudo privileges in RHEL OS StudioWorkspaceInstance/AppDeploymentInstance.
- Make sure Hibernate and passivate user containers and application containers from launchpad. use the following command to Hibernate and passivate containers.
- So follow the steps below when you added StudioWorkspaceInstance/AppDeploymentInstance.
Docker Upgrade in Ubuntu
- Stop the current Docker.
To upgrade and install the latest version of Docker, run the following command to list all the available versions:
Run the following command to install a specific version of Docker.
If the given platform user does not have privileged access, then provide the below permissions for the given user on StudioWorkspace Instance/AppDeployment Instance.
The user should be able to execute the following commands as a privileged user:
- Add user to the Docker group.
- Make the user an owner of the Docker systemd process.
- Data directory should be owned by the user.
- Permission to manage Docker, service, systemctl daemon-reload, iptable.
Docker Upgrade in RHEL
Upgrade or Install the latest version of Docker.
- Stop the current Docker.
- List the current Docker package version.
- Remove the current Docker Engine.
- Install container-selinux for RHEL 7 version only
Install the latest version of Docker
- To Install Docker in RHEL 8 use the following commands
Install prerequisites to install Docker in RHEL7
To Install Docker in RHEL 7 use the following commands
- You can choose to install Docker in any other way as per your company policy.
- Above commands depict one of them.
- Make sure to do the activities below after the Docker installation.
If the given platform user doesn't have privileged access, then provide the below permissions for the given user on StudioWorkspace Instance / AppDeployment Instance.
The user should be able to execute the following commands as a privileged user:
- Add user to the Docker group.
- Make the user an owner of the Docker system process.
- Data directory should be owned by the user.
- Permission to manage Docker, service, systemctl daemon-reload, iptable.
Sync Studio Workspace/AppDeploy Instances
- Execute the following command in Platform Instance to sync the StudioWorkspace/AppDeploy Instances.
- Go to Launchpad and see Instance status. You can start working on Studio once the Instance status has started.