Skip to content

Request: macOS 26 conatiner compatibility #1277

@plz12345

Description

@plz12345

Is your feature request related to a problem? Please describe.
macOS 26+ now includes native support for containers, which can also leverage native hardware. Requesting a container image that is compatible with running as a container in this non-Docker environment. At present, the s6 init/entrypoint scripting causes issues. My hope is that ffmpeg will be able to detect videotoolbox API's and be able to use the hardware directly inside this container. I know that doesn't work when running Docker on MacOS.

Describe the solution you'd like
Revise the entrypoint script to be compatible with Apple's native containerization, or provide a container image capable of running cleanly.

Describe alternatives you've considered
I considered going down the path of building a custom image based on tdarr's dockerfile, but I think it's a bit past my comfort zone. I also tried overriding the entrypoint and directly running the tdarr_node process, but it hits permission issues since the existing entrypoint script is likely chowning those.

container rm tdarrnode
container run \
  --name tdarrnode \
  --publish 8266:8266 \
  --mount type=bind,source=/Users/plz12345/tdarr/configs,target=/app/configs \
  --mount type=bind,source=/Users/plz12345/tdarr/logs,target=/app/logs \
  --mount type=bind,source=/Users/plz12345/media,target=/media \
  --mount type=bind,source=/Users/plz12345/tdarr/cache,target=/app/cache \
  --uid 502 \
  --gid 20 \
  --env TZ=America/New_York \
  --env nodeName=MyExternalNode \
  --env serverIP=192.168.1.217 \
  --env serverPort=8266 \
  --env ffmpegVersion=7 \
  --env nodeType=mapped \
  --env priority=-1 \
  --env maxLogSizeMB=10 \
  --env pollInterval=2000 \
  --env startPaused=true \
  --entrypoint /bin/sh \
  --interactive \
  ghcr.io/haveagitgat/tdarr_node:latest \
  -c "/app/Tdarr_Node"
tdarr> ./tdarrcontainer.sh
tdarrnode
/bin/sh: 1: /app/Tdarr_Node: Permission denied

Additional context
https://github.com/apple/container

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions