Comments (5)
How are you running the container?
I am not familiar with podman at all, yet, but from a brief google search, I see that the healthcheck syntax is different: --healthcheck-command 'CMD-SHELL curl --silent --fail localhost:8200 || exit 1'
Curl is present inside the image, the problem is probably in the check syntax and the difference between podman / docker
from docker_base_images.
https://docs.podman.io/en/latest/markdown/podman-run.1.html says it's --health-cmd
and "the command will be interpreted as an argument to /bin/sh -c"
I'm just running
podman run -d \
--name minidlna \
--net=host \
-v /srv/containers/media:/media \
-e MINIDLNA_MEDIA_DIR=/media \
-e MINIDLNA_FRIENDLY_NAME=Pi \
-e MINIDLNA_ROOT_CONTAINER=B \
-e MINIDLNA_ALBUM_ART_NAMES=Folder.jpg/folder.jpg/Cover.jpg/cover.jpg \
-e MINIDLNA_MERGE_MEDIA_DIRS=YES \
-e MINIDLNA_WIDE_LINKS=YES \
docker.io/vladgh/minidlna
from docker_base_images.
Something else is going on, because I just tried the following and it works. Still, if I don't disable the health check, it will show exec_died
every 10 seconds.
$ podman exec minidlna curl --fail --silent localhost:8200 || echo 1
<HTML><HEAD><TITLE>MiniDLNA 1.3.0</TITLE></HEAD><BODY><div style="text-align: center"><h2>MiniDLNA status</h2></div><h3>Media library</h3><table border=1 cellpadding=10><tr><td>Audio files</td><td>0</td></tr><tr><td>Video files</td><td>>
$ podman exec minidlna curl --fail --silent 127.0.0.1:8200 || echo 1
<HTML><HEAD><TITLE>MiniDLNA 1.3.0</TITLE></HEAD><BODY><div style="text-align: center"><h2>MiniDLNA status</h2></div><h3>Media library</h3><table border=1 cellpadding=10><tr><td>Audio files</td><td>0</td></tr><tr><td>Video files</td><td>>
from docker_base_images.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
from docker_base_images.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
from docker_base_images.
Related Issues (20)
- [minidlna] [feature request] Add UID and GID HOT 1
- Latest docker image for minidlna does not seem to start HOT 4
- How to set translation HOT 4
- Latest image won't start (/etc/group.8: Permission denied) HOT 2
- [minidlna] How to make miniDLNA work remotely over ZeroTier? HOT 2
- [minidlna] Please bump version to 1.3.0 HOT 6
- [minidlna] /minidlna/cache/files.db on persistent volume HOT 9
- [minidlna] support timezone
- [minidlna] Ошибка работы со всеми сборками, после 0.5.0 HOT 14
- [minidlna] MiniDLNA not showing me any playlists HOT 7
- Dependency Dashboard
- Adding inotify to entrypoint.sh HOT 1
- MiniDLNA: File Permissions HOT 2
- MiniDLNA root_container HOT 3
- Action Required: Fix Renovate Configuration
- [minidlna] BrowseContentDirectory Returning UPnPError 402 - Invalid Args HOT 1
- Arm64 images HOT 4
- MiniDLNA. ERROR: no matching manifest for linux/arm/v7 in the manifest list entries HOT 3
- [s3sync] ModuleNotFoundError: No module named 'six' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker_base_images.