To upgrade ClearML Server Docker deployment:
Shut down the docker containers with the following command:docker-compose -f docker-compose.yml down
If upgrading from Trains Server version 0.15 or older to ClearML Server, do the following:
Follow these data migration instructions, and then continue this upgrade.
/opt/trainsand its subdirectories to
/opt/clearml.sudo mv /opt/trains /opt/clearml
If upgrading from ClearML Server version older than 1.2, you need to migrate your data before upgrading your server. See instructions here.
Backing up data is recommended, and if the configuration folder is not empty, backing up the configuration.
Download the latest
docker-compose.ymlfile.curl https://raw.githubusercontent.com/allegroai/clearml-server/master/docker/docker-compose.yml -o /opt/clearml/docker-compose.yml
Startup ClearML Server. This automatically pulls the latest ClearML Server build.docker-compose -f /opt/clearml/docker-compose.yml pulldocker-compose -f /opt/clearml/docker-compose.yml up -d
If issues arise during your upgrade, see the FAQ page, How do I fix Docker upgrade errors?.