Previous page General information about TIY service  Web interface of TIY service Next page

On the page:


Installing the TIY service

To install the TIY service, do the following:

  1. Download the packages required for Docker operation:

  2. Open Docker Desktop. Make sure that the Docker Desktop running icon is displayed in the system tray of the taskbar. You can also verify that it is running in the Docker Desktop interface (look for the Engine running icon in the bottom-left corner).

  3. Upload the TIY Docker image:

    docker pull axxonsoft/train_it_yourself:v1.3.28

    Note

    The following commands are for Windows OS; for Linux OS, you can use the same commands with addition of sudo at the beginning of each of them.

  4. Start the Docker container using the following command:
    docker run --rm -p 5000:5000 --gpus all --privileged axxonsoft/train_it_yourself:v1.3.28
    where
    ParameterDescription
    --rmAutomatically removes the container after it stops running
    --gpus allGrants the container access to all GPUs. To use specific GPUs, their IDs must be specified
    --privileged

    Grants the container root access to the host. For security purposes, it is recommended to use the minimum necessary privileges.

    The full list of parameters can be found in the Running containers + GPU support section on the official Docker website

As a result, the container will start running. It is not recommended to close the command-line window until you have finished working with the service. If the command-line window is closed, the container will stop, and the TIY service will terminate.

To access the web interface of the TIY service, open a browser and navigate to http://localhost:5000/.

Additional container commands

  1. Check the container status:
    docker ps
    Response example:
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    e811e3c07661 u7665/tiy:v1.3.28 "/bin/sh -c 'python3…" 3 hours ago Up 3 hours 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp kind_proskuriakova
  2. Stop the container:
    docker stop %CONTAINER ID%
    where %CONTAINER ID% is the identifier of the container, which can be obtained using the docker ps command.
  3. Restart the Docker service (Linux OS only):
    sudo service docker restart
  • No labels