`flyio/flyctl:v0.0.270` yields warnings on `/.fly/config.yml` and `/.fly/state.yml`

I prefer to use the flyctl container image:

podman run \
--interactive --tty --rm \
--volume=${PWD}/.fly:/.fly \
--volume=${PWD}/fly.toml:/fly.toml \
flyio/flyctl:${VERS} ...

Where:

drwxrw---- .fly

drwxrw-rw- .
drwxrwxr-x ..
drwx------ agent-logs
-rw-rw-r-- config.yml
srwxr-xr-x fly-agent.sock
-rw-rw-r-- state.yml

This had been working without warnings (!?) from v0.0.253 all the way until v0.0.261 at which time I start receiving warnings:

WARN no config file found at /.fly/config.yml
...
WARN failed saving cache to /.fly/state.yml: open /tmp/flyctl.cache.lock: no such file or directory

Both files should exist in the container as they’re mounted by --volume=${PWD}/.fly:/.fly.

I was unable to access a shell in the container to inspect its file system directly.

What am I doing wrong?

That should work as expected. Could you please make an issue at Issues · superfly/flyctl · GitHub so we can look into it?

Done: `flyio/flyctl:v0.0.270` yields warnings on `/.fly/config.yml` and `/.fly/state.yml` · Issue #677 · superfly/flyctl · GitHub

Thank you