Docker Containers Table Usage¶
Click on the Docker Containers button at the bottom left of the application to show the Docker Containers Table:
This table lists all Docker containers running on the host machine (physical machine running Kraken).
Refresh its content by clicking on the icon at the top right corner.
Click on any column header to sort the table content on this column values.
Docker System Prune¶
Click on the icon at the top right of the table to open the Docker System Prune dialog:
- Select whether you also want to prune images and volumes,
- Click on Ok to run the
docker system prunecommand on the Kraken host machine.
This will remove stopped containers, networks, images and volumes for all Docker components on the host machine, not only for Kraken ones!
Inspect Docker Container¶
Click on the icon, at the right of the table, to display all information available for a Docker container (in JSON Format):
Display Docker Container Logs¶
Click on the icon, at the right of the table, to execute the
docker logs -f <containerId> command for a Docker container.
The command result is visible in the Command Executions panel.
The docker logs command is executed with the
So it will continuously stream the new output from the container's STDOUT and STDERR.
Place your mouse over the Logs icon the display the last lines of logs without running the command.
Run Docker Container¶
Click on the icon, at the right of the table, to open the Run Docker Container Dialog:
- Fill in the container name and type the image name in the configuration,
- Click on Ok to run the Docker container.
Kraken uses Spotify's Docker Client to list and run Docker containers.
The container configuration is an
yml formatted ContainerConfig object.
So you can add fields and definitions present in this object.
Start / Stop / Delete Docker Container¶
Click on the icon, at the right of the table, to open the contextual menu.
Either click on Start container, Stop container or Delete container.
This directly calls the Docker client API, no command execution logs are displayed for these operations. You may need to manually refresh the table.