Skip to content

failed to create shim task: OCI runtime create failed #86

@tippfehlr

Description

@tippfehlr

When trying to run the container, I get this error:

Error response from daemon: failed to create task for container:
failed to create shim task: OCI runtime create failed:
runc create failed: unable to start container process:
error during container init: error setting cgroup config
for procHooks process: resulting devices cgroup doesn't
match target mode: unknown

(I added line breaks)

docker info: https://bin.gy/isconegran

And the compose file:

version: '3'
services:
  restic:
    image: ghcr.io/lobaro/restic-backup-docker:latest
    hostname: [REDACTED] # This will be visible in restic snapshot list
    restart: unless-stopped
    privileged: true
    volumes:
      - ../activity-roles/db:/data/activity-roles:ro
      - ./restic:/restic
    environment:
      - RESTIC_REPOSITORY=/restic
      - 'RESTIC_PASSWORD=[REDACTED]
      - 'BACKUP_CRON=0 */6 * * *'
      - 'CHECK_CRON=0 4 * * *'
      - 'RESTIC_FORGET_ARGS=--prune --keep-daily 30 --keep-weekly 20 --keep-monthly 24'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions