Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Fehler bei Docker Compose

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Fehler bei Docker Compose

    This topic has been deleted. Only users with topic management privileges can see it.
    • David G.
      David G. last edited by David G.

      Hallo,

      versuche mich heute zum ersten mal an Docker.

      Hab auch direkt etwas wo ich nicht weiter komme
      ..

      Hat da jemand eine Idee?

      admin@docker:~/planka$ docker-compose up -d
      Creating network "planka_default" with the default driver
      Pulling planka (ghcr.io/plankanban/planka:latest)...
      latest: Pulling from plankanban/planka
      7264a8db6415: Pulling fs layer                                7264a8db6415: Downloading [>                                  7264a8db6415: Downloading [========>                                          ]  589.8kB/3.402MB                            7264a8db6415: Downloading [================>                                  ]   1.11MB/3.402MB=>                          7264a8db6415: Pull complete                                   751194035c36: Pull complete                                   eff5dce73b38: Pull complete                                   c8ce5be43019: Pull complete                                   2b80ad872417: Pull complete                                   21247504e003: Extracting [==================================================>]  38.92kB/38.92kB                             ec429d873e05: Download complete                               0e408e6be231: Download complete                               a68a61c1b02d: Download complete                               b8f464d926f4: Download complete                               ==============> ]  15.66MB/15.78MB                            7ff87f19dac3: Download complete                               ERROR: failed to register layer: unlinkat /usr/include/python3.11: invalid argument
      admin@docker:~/planka$
      

      Die Zeile 22 und 24 sind entsprechend angepasst.

      version: '3'
      
      services:
        planka:
          image: ghcr.io/plankanban/planka:latest
          command: >
            bash -c
              "for i in `seq 1 30`; do
                ./start.sh &&
                s=$$? && break || s=$$?;
                echo \"Tried $$i times. Waiting 5 seconds...\";
                sleep 5;
              done; (exit $$s)"
          restart: unless-stopped
          volumes:
            - user-avatars:/app/public/user-avatars
            - project-background-images:/app/public/project-background-images
            - attachments:/app/private/attachments
          ports:
            - 3000:1337
          environment:
            - BASE_URL=http://localhost:3000
            - DATABASE_URL=postgresql://postgres@postgres/planka
            - SECRET_KEY=notsecretkey
      
            # - TRUST_PROXY=0
            # - TOKEN_EXPIRES_IN=365 # In days
      
            # related: https://github.com/knex/knex/issues/2354
            # As knex does not pass query parameters from the connection string we
            # have to use environment variables in order to pass the desired values, e.g.
            # - PGSSLMODE=<value>
      
            # Configure knex to accept SSL certificates
            # - KNEX_REJECT_UNAUTHORIZED_SSL_CERTIFICATE=false
      
            # - DEFAULT_ADMIN_EMAIL=demo@demo.demo # Do not remove if you want to prevent this user from being edited/deleted
            # - DEFAULT_ADMIN_PASSWORD=demo
            # - DEFAULT_ADMIN_NAME=Demo Demo
            # - DEFAULT_ADMIN_USERNAME=demo
      
            # - OIDC_ISSUER=
            # - OIDC_CLIENT_ID=
            # - OIDC_CLIENT_SECRET=
            # - OIDC_SCOPES=openid email profile
            # - OIDC_ADMIN_ROLES=admin
            # - OIDC_ROLES_ATTRIBUTE=groups
            # - OIDC_IGNORE_ROLES=true
          depends_on:
            - postgres
      
        postgres:
          image: postgres:14-alpine
          restart: unless-stopped
          volumes:
            - db-data:/var/lib/postgresql/data
          environment:
            - POSTGRES_DB=planka
            - POSTGRES_HOST_AUTH_METHOD=trust
      
      volumes:
        user-avatars:
        project-background-images:
        attachments:
        db-data:
      

      Hab ka wo hier der Github link her kommt...

      elhigu created this issue in knex/knex

      open Parsing postgres connection strings query parameters #2354

      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @David G. last edited by Marc Berg

        @david-g sagte in Fehler bei Docker Compose:

        Hab ka wo hier der Github link her kommt...

        da her:

        89fb6b09-5b1e-4e4d-91c3-ac3c5517dd65-grafik.png

        Und zu deiner eigentlichen Frage: kannst du bitte näher erklären, was das Problem ist? Ich kann's aus der Beschreibung nicht rauslesen.

        Funktioniert bei mir mit deiner Compose Datei out-of-the box (nur der Port angepasst und die Base-URL).

        f8f98ea8-1076-429c-be7b-94122d3bfc81-grafik.png

        David G. 1 Reply Last reply Reply Quote 0
        • David G.
          David G. @Marc Berg last edited by

          @marc-berg

          Da steht der Link ^^.

          Bekomme am Ende die Fehlermeldung.
          Geht evtl in DEM Einzeiler oben was unter.

          ERROR: failed to register layer: unlinkat /usr/include/python3.11: invalid argument
          

          Es wird kein Container angelegt.
          Über Portainer will es auch nicht klappen.

          Marc Berg 1 Reply Last reply Reply Quote 0
          • Marc Berg
            Marc Berg Most Active @David G. last edited by

            @david-g sagte in Fehler bei Docker Compose:

            Geht evtl in DEM Einzeiler oben was unter

            Ja, bis ans Ende hatte ich jetzt wirklich nicht gescrollt.

            Selbst habe ich keine Idee, Google sagt aber, dass ein privileged Container bei diesem Fehlerbild helfen soll. Was hast du für eine Umgebung?

            David G. 1 Reply Last reply Reply Quote 0
            • David G.
              David G. @Marc Berg last edited by

              @marc-berg

              Das hab ich auch grade im Moment gefunden.
              Hier im Thread:
              https://forum.proxmox.com/threads/docker-failed-to-register-layer-applylayer-exit-status-1-stdout-stderr-unlinkat-var-log-apt-invalid-argument.119954/

              Dort steht auch, dass von abgeraten wird Docker in einem lcx auszuführen.
              Aber für die 2-3 Kleinigkeiten die da laufen extra eine VM...

              1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active last edited by

                @david-g sagte in Fehler bei Docker Compose:

                Dort steht auch, dass von abgeraten wird Docker in einem lcx auszuführen.

                Das würde ich so unterschreiben. Ein containerisierter Container kann nur in Problemen münden. 🙂

                David G. 1 Reply Last reply Reply Quote 0
                • David G.
                  David G. @Marc Berg last edited by David G.

                  Erledigt

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  944
                  Online

                  31.6k
                  Users

                  79.4k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  282
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  The ioBroker Community 2014-2023
                  logo