0d6ae5fbe3b355e49f00bf971116308e1e0fbc05
podman_run.md
... | ... | @@ -0,0 +1,13 @@ |
1 | + |
|
2 | +``` |
|
3 | +podman run --detach --name gollum --security-opt label=disable --userns=keep-id -v /srv/wiki:/wiki -p 4567:4567 gollumwiki/gollum:master --default-keybind vim |
|
4 | +``` |
|
5 | +``` |
|
6 | +podman run -d --network host -v /var/log/sshoney/:/root/logs/ --name sshoney 97f3876877e2 |
|
7 | +``` |
|
8 | + |
|
9 | +``` |
|
10 | +podman run --detach --pod $POD_NAME -e MYSQL_ROOT_PASSWORD=$DB_PASS -e MYSQL_PASSWORD=$DB_PASS -e MYSQL_DATABASE=$DB_NAME -e MYSQL_USER=$DB_USER --name $CONTAINER_NAME_DB -v "$PWD/database":/var/lib/mysql docker.io/mariadb:latest |
|
11 | + |
|
12 | +podman run --detach --pod $POD_NAME -e WORDPRESS_DB_HOST=127.0.0.1:3306 -e WORDPRESS_DB_NAME=$DB_NAME -e WORDPRESS_DB_USER=$DB_USER -e WORDPRESS_DB_PASSWORD=$DB_PASS --name $CONTAINER_NAME_WP -v "$PWD/html":/var/www/html docker.io/wordpress |
|
13 | +``` |
|
... | ... | \ No newline at end of file |