OK, I made an update
sudo docker run --volume /etc/mysql:/config --name mariadb-server -p 3307:3306 -e "MYSQL_ROOT_PASSWORD=password" -d linuxserver/mariadb
and the situation is the same, if I am removing volumes complete the situation is the same.
I checked logs, it is what I got:
Brought to you by linuxserver.io-
To support LSIO projects visit:
https:/www.linuxserver.io/donate/
GID/UID
User uid: 911
User gid: 911
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Your DockerHost is most likely running an outdated version of libseccomp
To fix this, please visit https:/docs.linuxserver.io/faq#libseccomp
Some apps might not behave correctly without this
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing…
[cont-init.d] 30-config: exited 0.
[cont-init.d] 40-initialise-db: executing…
Setting Up Initial Databases
Installing MariaDB/MySQL system tables in ‘/config/databases’ …
426741-11-16 12:38:02 0 [ERROR] This MySQL server doesn’t support dates later than 2038
Installation of system tables failed! Examine the logs in
/config/databases for more information.
The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:
shell> /usr/bin/mysql_install_db --defaults-file=~/.my.cnf
You can also try to start the mysqld daemon with:
shell> /usr/bin/mysqld --skip-grant-tables --general-log &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables;
Try ‘mysqld --help’ if you have problems with paths. Using
–general-log gives you a log in /config/databases that may be helpful.
The latest information about mysql_install_db is available at
https:/mariadb.com/kb/en/installing-system-tables-mysql_install_db
You can find the latest source at https:/downloads.mariadb.org and
the maria-discuss email list at https:/launchpad.net/~maria-discuss
Please check all of the above before submitting a bug report
at https:mariadb.org/jira
According to recomendation from logs I did:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list
sudo apt update
sudo apt install -t buster-backports libseccomp2
and nothing happened the situation is still the same.In log is addtinlay an error:
426741-11-16 12:38:02 0 [ERROR] This MySQL server doesn’t support dates later than 2038
In recommended config/databases I have nothing inside
When I am installing mariadb as a stand alone program not within docker everything is running well. Please support me.