Podman
Table of Contents
Podman is the official replacement for Docker.
Installation
https://podman.io/docs/installation
Script to run it
## Set installation path
export PATH=/opt/podman/bin:$PATH
podman machine stop
# Clean up
podman machine rm -f
rm -rf ~/.local/share/containers/podman
rm -rf ~/.config/containers/
## Initialize podman machine after installation
podman machine init
podman machine set --rootful
podman machine start
DOCKER_CMD=podman localstack start
Run MySql using Podman
MySql can be a similar environment in local for Aurora DB in AWS
podman run -d --name mysql-8 -p 3306:3306 -v ~/mysql_data:/Users/explorer436 \
-e MYSQL_ROOT_PASSWORD='MySqlPassword' \
-e MYSQL_USER=dbuser1 \
-e MYSQL_PASSWORD='dbuser1password' \
-e MYSQL_DATABASE='myCustomDatabase' mysql:8
Use MySql workbench to work with the database.