32 lines
1.6 KiB
Markdown
32 lines
1.6 KiB
Markdown
# Datacenter: nummer5
|
|
|
|
* Packages: podman, containernetworking-plugins
|
|
|
|
# Plugins
|
|
|
|
* NFS - https://github.com/thatsk/nfs-csi-nomad/tree/main
|
|
* Podman - https://github.com/hashicorp/nomad-driver-podman
|
|
|
|
# Hosts:
|
|
## Ebin*
|
|
|
|
* https://docs.oracle.com/en/learn/ol-linux-bonding/#for-additional-information - Bonding with Networkmanager
|
|
* u-boot-env: https://forum.armbian.com/topic/35780-with-new-uboot-env-esspressobin-v5-does-not-boot/
|
|
|
|
## adm01
|
|
|
|
* ``podman run -d --replace --pull=always --expose=5001 -p 127.0.0.1:5001:5001 --mount=type=bind,source=/etc/docker/registry-cache/config.yml,destination=/etc/docker/registry/config.yml --mount=type=bind,source=/data/container-dr-mirror,destination=/var/lib/registry --tz=Europe/Berlin --name=container-docker-mirror docker.io/library/registry:2``
|
|
* ``podman run --restart=always -d --replace --pull=always --expose=5000 -p 5000:5000 --mount=type=bind,source=/etc/docker/registry/config.yml,destination=/etc/docker/registry/config.yml --mount=type=bind,source=/data/container-registry,destination=/var/lib/registry --tz=Europe/Berlin --name=container-registry docker.io/library/registry:2``
|
|
|
|
|
|
# Datacenter: ring86
|
|
## Podman tricks
|
|
|
|
* Get CreateCommand: ``podman inspect <containername> --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"
|
|
|
|
|