JetBrains Fleet 1.34 Help

Docker containers

Built images are displayed in the Docker tool under Images. You can run them from there. For steps how to pull and build images, see Docker images.

Run With Custom Options menu item

Interacting with containers

The containers are displayed in the Docker tool.

fleet-docker-containers.png

Execute a command inside a running container

  1. Near a running container, click Open Terminal.

    fleet-open-terminal-for-docker-container.png
  2. Use the opened terminal to execute commands. For example:

    ls /tmp

    List the contents of the /tmp directory

    mkdir /tmp/my-new-dir

    Create the my-new-dir directory inside the /tmp directory

    /bin/bash

    Start a bash session

View detailed information about a running container

  • From the container context menu, select Inspect.

    fleet-docker-inspect.png

    A new editor tab opens with the container details in the form of a JSON object.

For more information, refer to the docker inspect command reference.

Attach a console to the container output

  • From the container context menu, select Attach.

    fleet-docker-attach.png

    The console is attached to the output of the ENTRYPOINT process running inside a container, and is rendered on the Attach tab.

For more information, refer to the docker attach command reference.

Last modified: 14 May 2024