linuxserver / docker-smokeping

GNU General Public License v3.0
347 stars 95 forks source link

[BUG] Cannot run docker image on rasperrypi 4 #139

Closed timrhaynes closed 1 year ago

timrhaynes commented 1 year ago

Is there an existing issue for this?

Current Behavior

Using this docker-compose.yml:

version: "2.1"
services:
  smokeping:
    image: lscr.io/linuxserver/smokeping:latest
    container_name: smokeping
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Toronto
    volumes:
      - ./config:/config
      - ./data:/data
    ports:
      - 81:80
    restart: unless-stopped

Result:

pi@raspberrypi:~ $ sudo docker-compose up
Creating smokeping ... done
Attaching to smokeping
smokeping    | s6-svscan: warning: unable to iopause: Operation not permitted
smokeping    | s6-svscan: warning: executing into .s6-svscan/crash
smokeping    | s6-supervise s6-linux-init-shutdownd: fatal: unable to iopause: Operation not permitted
smokeping    | s6-svscan crashed. Killing everything and exiting.
smokeping    | s6-linux-init-shutdownd: fatal: unable to iopause: Operation not permitted
smokeping    | s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
smokeping exited with code 111

Expected Behavior

The container should start and run normally.

Steps To Reproduce

  1. Create a docker-compose.yml with the configuration listed in the issue.
  2. Bring up the container using 'sudo docker-compose up'
  3. Observe various errors about 'operation not permitted'

Environment

- OS: Raspbian GNU/Linux 10 (Buster). Linux 5.10.103-v7l+
- How docker service was installed: distro's package manager

CPU architecture

arm64

Docker creation

version: "2.1"
services:
  smokeping:
    image: lscr.io/linuxserver/smokeping:latest
    container_name: smokeping
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Toronto
    volumes:
      - ./config:/config
      - ./data:/data
    ports:
      - 81:80
    restart: unless-stopped

Container logs

s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-supervise s6-linux-init-shutdownd: fatal: unable to iopause: Operation not permitted
s6-svscan crashed. Killing everything and exiting.
s6-linux-init-shutdownd: fatal: unable to iopause: Operation not permitted
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-svscan crashed. Killing everything and exiting.
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-svscan crashed. Killing everything and exiting.
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-svscan crashed. Killing everything and exiting.
s6-supervise s6-linux-init-shutdownd: fatal: unable to iopause: Operation not permitted
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-svscan crashed. Killing everything and exiting.
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-svscan crashed. Killing everything and exiting.
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-svscan crashed. Killing everything and exiting.
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-supervise s6-linux-init-shutdownd: fatal: unable to iopause: Operation not permitted
s6-svscan crashed. Killing everything and exiting.
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-svscan crashed. Killing everything and exiting.
s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

Roxedus commented 1 year ago

Sounds like you are using a 32 bit os. Look at the potential resolutions here https://docs.linuxserver.io/faq#libseccomp

timrhaynes commented 1 year ago

Thank you - Option 2 in that link has resolved my issue. Thank you very much for the help! :-)