Skip to content

Docker Containers Table Usage

Click on the Docker Containers button at the bottom left of the application to show the Docker Containers Table:

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 Refresh Icon 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 Broom Icon icon at the top right of the table to open the Docker System Prune dialog:

Docker System Prune Dialog

  1. Select whether you also want to prune images and volumes,
  2. Click on Ok to run the docker system prune command on the Kraken host machine.

Warning

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 Magnifier Icon icon, at the right of the table, to display all information available for a Docker container (in JSON Format):

Inspect Docker Container Dialog

Display Docker Container Logs

Click on the Logs Icon 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.

Note

The docker logs command is executed with the -f or --follow tag. So it will continuously stream the new output from the container's STDOUT and STDERR.

Tip

Place your mouse over the Logs icon the display the last lines of logs without running the command.

Run Docker Container

Click on the Add Icon icon, at the right of the table, to open the Run Docker Container Dialog:

Run Docker Container Dialog

  1. Fill in the container name and type the image name in the configuration,
  2. Click on Ok to run the Docker container.

Info

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 Menu Icon icon, at the right of the table, to open the contextual menu.

Either click on Start container, Stop container or Delete container.

Note

This directly calls the Docker client API, no command execution logs are displayed for these operations. You may need to manually refresh the table.