When working with the application inside a Docker* container, you might need to:
Refer to the sections below to see instructions for each scenario.
NOTE: Some commands differ among the detached and interactive modes of a container. To learn about the modes, see Install from Docker* Hub.
To pause a container with the DL Workbench while keeping all your data in it, stop the container and then restart it later to the previous state with the commands below:
./start_workbench.sh -STOP <container-name>
docker run
command and in detached mode: docker stop workbench
./start_workbench -RESTART <container-name>
./start_workbench -RESTART <container-name> -DETACHED
docker start
in detached mode: docker start <container-name>
docker start
in interactive mode: docker start -ai <container-name>
To start a new Docker container with the DL Workbench, stop and remove the current container, then run a new one.
docker run
command and in detached mode: NOTE: The
rm
command clears all loaded models, datasets, experiments, and profiling data.
The command below runs a new container on Linux OS in the interactive mode. To run the DL Workbench on other operating systems and with different parameters, see Install the DL Workbench from Docker Hub.
Once the command executes, open the link https://127.0.0.1:5665 in your browser, and the DL Workbench Get Started page appears:
To get the highest version of the application in your Docker container, pause the container, pull the latest
version, and run the container.
NOTE: Updating a container means building a new container on a newer image and not having your previous data in it. To keep your data in a new container, consider upgrading the DL Workbench.
docker run
command and in detached mode: For full instructions on running a container and description of the arguments in the command above, see the Install from Docker* Hub page.
Once the command executes, open the link https://127.0.0.1:5665 in your browser, and the DL Workbench Get Started page appears:
NOTE: This is an experimental feature that works starting from the 2021.1 release. You can only upgrade from the two latest releases to the current release:
- from 2021.1 to 2021.3 and
- from 2021.2 to 2021.3.
To get the highest version of the application in your Docker container, pause the container, pull the 2021.3
version, and run the container with the same folder or volume that you mounted to your previous Docker container.
docker run
command and in detached mode: Mount the same folder or volume that you mounted to your previous Docker container and run the new container. Specify the name of the new container using the -CONTAINER_NAME
argument, for example, workbench_2021.3
.
For full instructions on running a container and description of the arguments in the command above, see the Install from Docker* Hub page.
Once the command executes, open the link https://127.0.0.1:5665 in your browser, and the DL Workbench Get Started page appears:
NOTE: For this step, the container must be running.
To enter the container, run the command:
This command creates a new instance of a shell in the running Docker container and gives you access to a bash console as an OpenVINO™ user.
The container directory displayed in the terminal is /opt/intel/openvino_2021/deployment_tools/tools/workbench/
.
To see a list of files available inside the container, run ls
.
NOTE: The
/opt/intel/openvino/deployment_tools/tools/workbench/
directory inside the container includes a service folderwb/data
. Make sure you do not apply any changes to it.
To exit the container, run exit
inside the container.