A few commands commonly used to create, configure, or access docker containers
Start a new MariaDB container:
docker run -p 3306:3306 --name mariadb -e MYSQL_ROOT_PASSWORD=MyRootPassword -d mariadb/server:10.3
SSH to a running docker container
docker exec -it <container name> /bin/bash
View running containers:
docker ps
View stopped/inactive containers:
docker ps -a