mirror of
https://github.com/clearml/clearml-server
synced 2025-04-26 08:59:33 +00:00
Documentation
This commit is contained in:
parent
c199976f70
commit
dacdd5e965
28
README.md
28
README.md
@ -80,7 +80,7 @@ For Windows, we recommend installing our pre-built Docker image on a Linux virtu
|
|||||||
|
|
||||||
1. Launch the Docker containers <a name="launch-docker"></a>
|
1. Launch the Docker containers <a name="launch-docker"></a>
|
||||||
|
|
||||||
* Automatically with docker-compose (details: [Linux/Ubuntu](docs/faq.md##ubuntu), [OS X](docs/faq.md#mac-osx))
|
* Automatically with docker-compose (details: [Linux/Ubuntu](docs/faq.md#ubuntu), [OS X](docs/faq.md#mac-osx))
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker-compose up
|
$ docker-compose up
|
||||||
@ -193,6 +193,14 @@ When we release a new version and include a new pre-built Docker image for it, u
|
|||||||
|
|
||||||
1. Shut down and remove each of your Docker instances using the following commands:
|
1. Shut down and remove each of your Docker instances using the following commands:
|
||||||
|
|
||||||
|
* Using Docker-Compose
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ docker-compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
* Manual Docker launching
|
||||||
|
|
||||||
sudo docker stop <docker-name>
|
sudo docker stop <docker-name>
|
||||||
sudo docker rm -v <docker-name>
|
sudo docker rm -v <docker-name>
|
||||||
|
|
||||||
@ -204,15 +212,7 @@ When we release a new version and include a new pre-built Docker image for it, u
|
|||||||
* `trains-apiserver`
|
* `trains-apiserver`
|
||||||
* `trains-webserver`
|
* `trains-webserver`
|
||||||
|
|
||||||
2. Pull the new **trains-server** docker image using the following command:
|
2. We highly recommend backing up your data directory!. A simple way to do that is using `tar`:
|
||||||
|
|
||||||
sudo docker pull allegroai/trains:latest
|
|
||||||
|
|
||||||
If you wish to pull a different version, replace `latest` with the required version number, for example:
|
|
||||||
|
|
||||||
sudo docker pull allegroai/trains:0.10.1
|
|
||||||
|
|
||||||
3. We highly recommend backing up your data directory!. A simple way to do that is using `tar`:
|
|
||||||
|
|
||||||
For example, if your data directory is `/opt/trains`, use the following command:
|
For example, if your data directory is `/opt/trains`, use the following command:
|
||||||
|
|
||||||
@ -225,6 +225,14 @@ When we release a new version and include a new pre-built Docker image for it, u
|
|||||||
sudo rm -R /opt/trains/data
|
sudo rm -R /opt/trains/data
|
||||||
sudo tar -xzf ~/trains_backup.tgz -C /opt/trains/data
|
sudo tar -xzf ~/trains_backup.tgz -C /opt/trains/data
|
||||||
|
|
||||||
|
3. Pull the new **trains-server** docker image using the following command:
|
||||||
|
|
||||||
|
sudo docker pull allegroai/trains:latest
|
||||||
|
|
||||||
|
If you wish to pull a different version, replace `latest` with the required version number, for example:
|
||||||
|
|
||||||
|
sudo docker pull allegroai/trains:0.10.1
|
||||||
|
|
||||||
4. Launch the newly released Docker image (see [Launching Docker Containers](#launch-docker)).
|
4. Launch the newly released Docker image (see [Launching Docker Containers](#launch-docker)).
|
||||||
|
|
||||||
## Community & Support
|
## Community & Support
|
||||||
|
@ -79,8 +79,6 @@ For CentOS 7, Ubuntu 16.04, Mint 18.3, Ubuntu 18.04 and Mint 19.x, we tested the
|
|||||||
echo "vm.max_map_count=262144" > /tmp/99-trains.conf
|
echo "vm.max_map_count=262144" > /tmp/99-trains.conf
|
||||||
sudo mv /tmp/99-trains.conf /etc/sysctl.d/99-trains.conf
|
sudo mv /tmp/99-trains.conf /etc/sysctl.d/99-trains.conf
|
||||||
sudo sysctl -w vm.max_map_count=262144
|
sudo sysctl -w vm.max_map_count=262144
|
||||||
|
|
||||||
sudo service docker restart
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For information about setting this parameter on other systems, see the [elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-prod-mode) documentation.
|
For information about setting this parameter on other systems, see the [elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-cli-run-prod-mode) documentation.
|
||||||
|
Loading…
Reference in New Issue
Block a user