Skip to main content

Container Management

The AI Worker development environment is preconfigured on the robot PC. This guide explains how to start, enter, and stop the ai_worker container.

Manage the Container​

First, connect to the robot PC using SSH. For more information about the system, see Storage & Directory Layout and Containers & Services.

AI Worker provides the container.sh script to manage its Docker container.

CommandDescription
startPull the configured images and start the container.
enterOpen a shell inside the running container.
stopStop and remove the container after confirmation.
helpShow the available commands.

On the robot PC, navigate to the Docker directory and run the command you need:

cd ~/ai_worker/docker
./container.sh start # Start the container
./container.sh enter # Enter the container
./container.sh stop # Stop and remove the container
./container.sh help # Show available commands
warning

Stopping the container also stops its running services. Data stored only inside the container is lost when it is removed; save important files in a host-mounted directory first. See Container Volume Map.