ePrivacy and GPDR Cookie Consent by TermsFeed Generator OPENHAB in a NUTSHELL: 61. DOCKER and the CONSOLE - Easy access even without the openhab-cli command - VIDEO | OpenHAB - SmartHome | DomoticsDuino - Computer engineer, Smart Home / OpenHAB, Flight Sim and others...
OpenHAB - SmartHome (339 posts)

11/03/2026

OPENHAB in a NUTSHELL: 61. DOCKER and the CONSOLE - Easy access even without the openhab-cli command - VIDEO [Versione in italiano]

by Marco Lamanna

In this video, we'll explore a very common use case: connecting to the openHAB console running as a Docker container. Although the system runs in an isolated container, we still need access to the Apache Karaf console for advanced administration tasks.

In the Docker container, openHAB doesn't provide the openhab-cli command, the native way to connect to the Karaf console. Don't worry, in this video, we'll look at several alternative ways to achieve the same result.

We'll look in detail at:

  • Direct Access: how to access the console from the Docker host without SSH, using the docker exec command to invoke the internal runtime client.
  • Connecting via SSH: how to configure the container to expose port 8101 and connect remotely as if it were a standard installation.
  • Network Configuration: the steps required in the runtime.cfg file to enable the console to accept external connections.

Whether you're an experienced user or a Docker newbie, this guide will give you full control over your bundles and system logs directly from the terminal.

Enjoy your viewing

[Open on YOUTUBE]