buanet / ioBroker.docker

Official Docker Image for ioBroker
https://www.iobroker.net
MIT License
194 stars 70 forks source link

[Problem]: Running Iobroker as a podman rootless container #441

Closed GromkiWir closed 6 months ago

GromkiWir commented 6 months ago

Description / Beschreibung

I am trying to run this docker image as a rootless podman user. I have pulled the image but first run fails. Is it possible to run iobroker container in this way?

Image version

v9.1.1

Docker logs / Docker Protokoll

--------------------------------------------------------------------------------

-------------------------     2024-02-25 15:31:29      -------------------------

--------------------------------------------------------------------------------

-----                                                                      -----

----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----

----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----

----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----

----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----

----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----

----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----

-----                                                                      -----

-----              Welcome to your ioBroker Docker container!              -----

-----                    Startupscript is now running!                     -----

-----                          Please be patient!                          -----

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

-----                          System Information                          -----

-----                    arch:                x86_64                       -----

-----                    hostname:            0d5f3c22f898                 -----

-----                                                                      -----

-----                          Version Information                         -----

-----                    image:               v9.1.1                       -----

-----                    build:               2024-02-21T23:44:47+00:00    -----

-----                    /opt/scripts/iobroker_startup.sh: line 88: /usr/bin/node: Operation not permitted

node:                                             -----

-----                    /usr/bin/env: ‘node’: Operation not permitted

npm:                                              -----

-----                                                                      -----

-----                        Environment Variables                         -----

-----                    SETGID:              1000                         -----

-----                    SETUID:              1000                         -----

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

-----                   Step 1 of 5: Preparing Container                   -----

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

-----             Step 2 of 5: Detecting ioBroker Installation             -----

--------------------------------------------------------------------------------

Existing installation of ioBroker detected in "/opt/iobroker".

--------------------------------------------------------------------------------

-----             Step 3 of 5: Checking ioBroker Installation              -----

--------------------------------------------------------------------------------

Replacing ioBroker executable to fix sudo bug... Done.

(Re)setting permissions (This might take a while! Please be patient!)... Done.

Initializing a fresh installation of ioBroker... Failed.

For more details see "/opt/iobroker/log/iob_setup_first.log".

Please check your configuration and try again.

This Script will exit now.

Streaming disconnected
buanet commented 6 months ago

Please use search: klick!

Duplicate #414

Regards, André