Skip to content

Instantly share code, notes, and snippets.

@mikaeldui
Last active April 22, 2025 17:47
Show Gist options
  • Save mikaeldui/5ba34136e70555a91e19ebbe9f431d91 to your computer and use it in GitHub Desktop.
Save mikaeldui/5ba34136e70555a91e19ebbe9f431d91 to your computer and use it in GitHub Desktop.
Globalping Probe Podman Quadlet

Globalping Probe as Quadlet

Quadlets are available since Podman 4.4, and offer an easy way to manage container and to keep them updated!

  1. Check podman --version.
  2. Create /etc/containers/systemd/globalping-probe.container with the content below:
# Equivalent to sudo podman run -d --cap-add=NET_RAW --network host --restart=always \
# --name globalping-probe globalping/globalping-probe
[Unit]
Description=Globalping Probe Container

[Container]
ContainerName=globalping-probe
Image=docker.io/globalping/globalping-probe:latest
AutoUpdate=registry
Network=host
AddCapability=NET_RAW
## (Optional) Uncomment the line below and add your adoption token.
# Environment=GP_ADOPTION_TOKEN=<your token here>

[Service]
Restart=always

[Install]
WantedBy=multi-user.target default.target
  1. Reload with sudo systemctl reload-daemon.
  2. Start the container now and on boot with sudo systemctl enable --now globalping-probe.
  3. Enable automatic updates with sudo systemctl enable podman-auto-update.{service,timer}.
  4. (Optional) set Environment=GP_ADOPTION_TOKEN=<your token here> to link the probe to your account.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment