Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tippfehlr opened this issue Feb 14, 2024 · 0 comments
Open

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

tippfehlr opened this issue Feb 14, 2024 · 0 comments

Comments

@tippfehlr
Copy link

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant