> On 23/12/2025 14:29 EET saturos+dove--- via dovecot <[email protected]> 
> wrote:
> 
>  
> Hello!
> 
> I was attempting to set up health checking as in the Health Checking document 
> [1]. But it seems that the rootless image is missing the sleep command, which 
> prints the error:
> 
> dovecot[16633]: Dec 22 22:05:04 health-check: Error: 
> /dovecot/libexec/dovecot/health-check.sh: 31: sed: not found
> 
> Reproduction:
> 
> $ podman run --rm -it  index.docker.io/dovecot/dovecot:latest-dev  which sleep
> /usr/bin/sleep
> $ podman run --rm -it  index.docker.io/dovecot/dovecot:latest-root  which 
> sleep
> /usr/bin/sleep
> $ podman run --rm -it  index.docker.io/dovecot/dovecot:latest  which sleep
> $
> 
> Set up healthchecking on 5001. With latest:
> 
> $ echo -e "PING\n" | nc -v localhost 5001
> Connection to localhost (::1) 5001 port [tcp/*] succeeded!
> $
> 
> With latest-dev:
> 
> $ echo -e "PING\n" | nc -v localhost 5001
> Connection to localhost (::1) 5001 port [tcp/*] succeeded!
> PONG
> and the error log above is generated.
> 
> Version:
> 
> $ podman run --rm -it  index.docker.io/dovecot/dovecot:latest  dovecot 
> --version
> 2.4.2 (0962ed2104)
> 
> [1] https://doc.dovecot.org/2.4.2/core/config/health_check.html

The latest image is missing ~all binaries, if you need a particular binary 
there feel free to extend the -dev image to your liking.

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to