[Bug]: docker OCI runtime exec failed #2940

Closed
opened 2026-04-25 00:12:04 +02:00 by adam · 4 comments
Owner

Originally created by @naoki66 on GitHub (Aug 11, 2025).

What happened?

When I create a new Docker container and after it runs for a period of time, Docker reports an OCI runtime exec failed error.

What did you expect to happen?

OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown

Steps to reproduce the issue

The problem can only be solved by the following methods:

docker exec -it audiobookshelf /bin/sh
apk add curl
Is it because the Docker dependency file is missing curl? I have to repeat the above steps every time I re-pull the image.

Audiobookshelf version

v2.28.0 docker

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs


Additional Notes

No response

Originally created by @naoki66 on GitHub (Aug 11, 2025). ### What happened? When I create a new Docker container and after it runs for a period of time, Docker reports an OCI runtime exec failed error. ### What did you expect to happen? OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown ### Steps to reproduce the issue The problem can only be solved by the following methods: docker exec -it audiobookshelf /bin/sh apk add curl Is it because the Docker dependency file is missing curl? I have to repeat the above steps every time I re-pull the image. ### Audiobookshelf version v2.28.0 docker ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs ```shell ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:12:04 +02:00
adam closed this issue 2026-04-25 00:12:05 +02:00
Author
Owner

@Vito0912 commented on GitHub (Aug 11, 2025):

Curl is not available. This should be not an issue (if you are using custom scripts) and intended
If you want to use any script that uses curl you can use wget

@Vito0912 commented on GitHub (Aug 11, 2025): Curl is not available. This should be not an issue (if you are using custom scripts) and intended If you want to use any script that uses curl you can use wget
Author
Owner

@naoki66 commented on GitHub (Aug 11, 2025):

Thank you for the reminder. I checked and found that it's because my healthcheck uses curl.

``services:
audiobookshelf:
image: advplyr/audiobookshelf:latest
container_name: audiobookshelf
network_mode: "bridge"
ports:
- 1680:80
volumes:
- /volume3/18T01/audiobooks:/audiobooks
- /volume2/DockerConfig/audiobookshelf/podcasts:/podcasts
- /volume2/DockerConfig/audiobookshelf/config:/config
- /volume2/DockerConfig/audiobookshelf/metadata:/metadata
restart: unless-stopped
environment:
- "PUID=1026"
- "PGID=100"
- "UMASK=022"
- "TZ=Asia/Shanghai"
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1/healthcheck"]
interval: 30s
timeout: 3s
start_period: 10s
`

@naoki66 commented on GitHub (Aug 11, 2025): Thank you for the reminder. I checked and found that it's because my healthcheck uses curl. ``services: audiobookshelf: image: advplyr/audiobookshelf:latest container_name: audiobookshelf network_mode: "bridge" ports: - 1680:80 volumes: - /volume3/18T01/audiobooks:/audiobooks - /volume2/DockerConfig/audiobookshelf/podcasts:/podcasts - /volume2/DockerConfig/audiobookshelf/config:/config - /volume2/DockerConfig/audiobookshelf/metadata:/metadata restart: unless-stopped environment: - "PUID=1026" - "PGID=100" - "UMASK=022" - "TZ=Asia/Shanghai" healthcheck: test: ["CMD", "curl", "-f", "http://127.0.0.1/healthcheck"] interval: 30s timeout: 3s start_period: 10s `
Author
Owner

@Vito0912 commented on GitHub (Aug 11, 2025):

Nice!
Can you please close this issue then
and tell us where you found the docker compose that included curl (or did you add it yourself?)

@Vito0912 commented on GitHub (Aug 11, 2025): Nice! Can you please close this issue then and tell us where you found the docker compose that included curl (or did you add it yourself?)
Author
Owner

@naoki66 commented on GitHub (Aug 11, 2025):

Nice!
Can you please close this issue then
and tell us where you found the docker compose that included curl (or did you add it yourself?)

Looks a little redundant, huh😂

@naoki66 commented on GitHub (Aug 11, 2025): > Nice! > Can you please close this issue then > and tell us where you found the docker compose that included curl (or did you add it yourself?) Looks a little redundant, huh😂
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2940