I was as told that podman mimics docker. I am trying to ship some logs via promtail to grafana loki. When I run podman, the config is not getting picked up like I expect.
The documentation for getting started with podman was helpful, https://podman.io/getting-started/
But I failed to located documentation for using podman specifically with promtail.
This is what I tried successfully, via docker:
docker run -d --name promtail -v $(pwd):/mnt/config -v $(pwd)/log:/var/log grafana/promtail:2.7.4 -config.file=/mnt/config/promtail-config.yaml
Running it via podman failed.
podman run -d --name promtail -v $(pwd):/mnt/config -v $(pwd)/log:/var/log docker.io/grafana/promtail -config.file=/mnt/config/promtail-config.yaml
I expected to be able to run the same command with podman as I did with docker.