in This Tutorial you will Learn " How To Run Deploy MySQL 8 in Podman
MySQL is an open-source relational database management system.
Podman is an OCI-compliant container runtime that works without a daemon.
Code -
podman pull mysql:8 Or podman pull mysql:5.7
podman images
mkdir ~/mysql_data ; cd mysql_data
podman run -d \
--name mysql-8 \
-p 3306:3306 \
-v ~/mysql_data:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD='StrongPass123' \
-e MYSQL_USER=dbuser \
-e MYSQL_PASSWORD='dbuserpass' \
-e MYSQL_DATABASE=testdb \
mysql:8
podman ps
podman exec -it mysql-8 /bin/bash
mysql -uroot -p'StrongPass123'
show databases;
exit
On this page of the site you can watch the video online Deploy run MySQL 8 in Podman with a duration of hours minute second in good quality, which was uploaded by the user Quick Notepad Tutorial 08 March 2022, share the link with friends and acquaintances, this video has already been watched 2,226 times on youtube and it was liked by 16 viewers. Enjoy your viewing!