Skip to content

[enhancement]: Host data structure not suitable for docker environment #3008

Closed
@ScumbagSteve

Description

@ScumbagSteve

No existing issues.

  • There is no existing issue for my request.

Description

When ioBroker runs as a Docker container, the Docker ImageID seems to be used as the hostname.
With each Docker update, the ImageID changes, which apparently also changes the hostname.
All data points that are used under system.host need to be reassigned.

In my system.host folder, there are numerous empty folders (the old ImageIDs). It took me a while to understand the background of these folders.

I see several areas for improvement:

  1. Support Docker users by allowing them to set a hostname during installation.
  2. Alternatively, retain the original hostname and not change it with every Docker update.
  3. Delete the outdated (empty) folders from system.host.
image

Why?

Unnoticed changes in data structures should be avoided by any cost. My automatizations did not run anymore and I only realized weeks later.

How?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions