Alpine does not have an rc service installed by default. You need to install it (either as part of the Dockerfile build process, or manually in the container).
Secret call:
apk add openrc --no-cache
If you want to run it from outside the container (say, execute docker), use:
docker run [options etc] bin/ash -c "apk add openrc --no-cache"
PS: rc-service is good for other things and things like mariadb (also not included in alpine)
source share