Error connecting to your database (Docker Container)

I am following the instructions of jarischaefer to run librenms in a container. The problem is that it always tells me that it can not connect to the database.
root@librenms:/# /opt/librenms/./validate.php

Component Version
LibreNMS 1.44
DB Schema ?
PHP 7.2.11-2+ubuntu18.04.1+deb.sury.org+1
MySQL ?
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

====================================

[OK] Composer Version: 1.7.3
[OK] Dependencies up-to-date.
[FAIL] Error connecting to your database.
[WARN] Could not check poller/discovery, db is not connected.
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] Your install is over 24 hours out of date, last update: Wed, 17 Oct 2018 10:33:28 +0000
[FIX] Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git branch is not master, this will prevent automatic updates.
[FIX] You can switch back to master with git checkout master
[FAIL] We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail.

This is my docker run parameters:

docker run -d -h librenms -p 80:80 -e APP_KEY=(key genereate with generate key) -e DB_HOST=127.0.0.1 -e DB_NAME=librenms -e DB_USER=librenms -e DB_PASS=(password equan than mysql) -e BASE_URL=http://localhost -v /data/logs:/opt/librenms/logs -v /data/rrd:/opt/librenms/rrd --name librenms jarischaefer/docker-librenms

After this i try to create tables but database is not connected

I think all mysql parameters are well… pse help…
Thanks in advance

You’ll need to raise this with the person who looks after the docker image.

The official librenms docker image is in: https://hub.docker.com/r/librenms/

I have followed many times the installation of librenms as indicated by Jari but I always have the same problem; the database does not connect. I have reviewed step by step and checked the configuration of mysql and it seems that everything is fine. Only once in my house did I get it to work with docker windows. At work I have ubuntu server and it has never worked. The same mistake. The database does not connect. Also here with the server the mysql container in 5.6 if I start it only (without Docker-Composer), it stops instantly.

https://hub.docker.com/r/librenms/