Override the entrypoint in docker-compose.yml for the MariaDB Docker container by adding:
entrypoint: mysqld_safe --skip-grant-tables --user=mysql
The start up the Docker Compose stack:
$> docker-compose up -d
| #!/bin/bash | |
| sudo apt install neofetch | |
| sudo cp motd.sh /etc/profile.d/motd.sh | |
| sudo chmod +x /etc/profile.d/motd.sh |