Raspberry PI docker image container running mariadb 10.1.3
- docker-cli
On the command line:
docker run -it -d -e MYSQL_USERNAME=[username] -e MYSQL_PASSWORD=[password] --name mysql edenr/raspberry-mysql
To enter:
docker exec -it mysql bash
Now you can access the container with the provided credentials on port 3306