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:
See Enter DL Workbench for details.
To get the latest version of the application in your Docker container, pause the container, pull the latest version, and run the container.
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: 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.