Forked from kameshsampath/podman_pods_mariadb.txt
Last active
October 2, 2022 11:48
-
-
Save jcchikikomori/6b7d3c7adeda9f0306ea8440e28a4e54 to your computer and use it in GitHub Desktop.
Running mariadb as podman pods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman pod kill db | |
podman pod rm db | |
# podman pod create db | |
podman run -dt --rm --pod new:db --name mariadb -e MARIADB_ROOT_USER=johnc -e MARIADB_ROOT_PASSWORD=johnc -p 3306:3306 -p 8082:8080 docker.io/bitnami/mariadb:latest | |
podman run -dt --rm --pod db --name adminer docker.io/adminer | |
# OPTIONAL | |
podman run -d -p 9443:9443 -p 8000:8000 --security-opt label=disable --name=portainer --restart=always -v /run/user/1000/podman/podman.sock:/var/run/docker.sock:Z -v portainer_data:/data docker.io/portainer/portainer-ce:2.13.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment