Upgrading the IBM Cloud Private Docker package
Upgrade Docker engines that were installed by using the IBM Cloud Private Docker package.
- Upgrading the IBM Cloud Private Docker package (boot node)
- Upgrading the IBM Cloud Private Docker package (cluster nodes)
Upgrading the IBM Cloud Private Docker package (boot node)
Upgrade a boot node that was installed by using the IBM Cloud Private Docker package.
- Download the Docker package for your platform. See IBM Cloud Private Docker packages.
-
Upgrade Docker on your boot node.
-
For Linux® x86_64, run this command:
chmod +x icp-docker-18.03.1_x86_64.bin sudo ./icp-docker-18.03.1_x86_64.bin --upgrade
-
For Linux® on Power® (ppc64le), run this command:
chmod +x icp-docker-18.03.1_ppc64le.bin sudo ./icp-docker-18.03.1_ppc64le.bin --upgrade
-
-
Ensure that Docker engine is started. Run the following command:
sudo systemctl start docker
Upgrading the IBM Cloud Private Docker package (cluster nodes)
Upgrade cluster nodes that were installed by using the IBM Cloud Private Docker package.
- Switch to the
/<installation_directory>/cluster/
directory.cd /<installation_directory>/cluster/
-
Upgrade Docker.
sudo docker run --net=host -t -e LICENSE=accept -v "$(pwd)":/installer/cluster ibmcom/icp-inception-$(uname -m | sed 's/x86_64/amd64/g'):3.1.2-ee upgrade-docker
You can also use the
-l
option to upgrade specific cluster nodes.- For worker nodes, use
-l worker
. - In HA environments, use the
-l <host_ip>
to upgrade master and proxy nodes one at a time.
- For worker nodes, use
-
On all nodes, ensure that Docker engine is started. Run the following command:
sudo systemctl start docker