Upgrade
CAUTION
|
If you need to upgrade the previously installed version of ADCM, do the following:
-
Stop the
adcm
container.$ sudo docker stop adcm
-
Remove the
adcm
container.$ sudo docker container rm adcm
-
Download the Docker image that you need from the Arenadata Docker Registry.
$ sudo docker pull hub.arenadata.io/adcm/adcm:<version>
where
<version>
is a desired ADCM image version in one of the following formats:-
<major>.<minor>.<patch>
— if you need a specific ADCM patch. For example,2.0.0
. -
<major>.<minor>
— if you need the last patch within the selected ADCM version. For example,2.0
.
IMPORTANT-
latest
was used for earlier versions of ADCM and is no longer supported starting from version2.0.0
. -
Before ADCM 2.0.0, the following format was used for versioning:
YYYY.MM.DD.HH
.
-
-
Create a new container based on the uploaded image.
$ sudo docker create --name adcm -p 8000:8000 -v /opt/adcm:/adcm/data hub.arenadata.io/adcm/adcm:<version>
-
Start the new
adcm
container.$ sudo docker start adcm
IMPORTANT
If you use ADCM with an external database, the container must be run with the appropriate environment variables.
|