diff --git a/README.md b/README.md index 3a165c2..8867179 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,11 @@ Podman - https://github.com/hashicorp/nomad-driver-podman # Datacenter: ring86 +# Podman tricks + +* Get CreateCommand: ``podman inspect --format "{{.Config.CreateCommand}}"`` + + # auto.chaos podman run -d --replace -e 1883 -p 1883:1883 --mount=type=bind,source=/etc/mosquitto,destination=/mosquitto --tz=Europe/Berlin --name=mosquitto-mqtt cr.wks/mosquitto:latest podman run -d --replace -e 9234 -p 0.0.0.0:9234:9234 --tz=Europe/Berlin --name=mosquitto-exporter cr.wks/mosquitto-prometheus-exporter --endpoint "tcp://mqtt:1883"