Hi! It's me again, back with another issue I could need help with.
I 'm running a Dagger pipeline with a Python container, which has a service binding to a Clickhouse database container (https://hub.docker.com/r/clickhouse/clickhouse-server/). So far so good, everything works as expected.
Now what I want to do is create a backup of a database in Clickhouse to "local disk" (the Clickhouse container), and export it to the host (to restore and debug).
Creating the backup from within Clickhouse works fine, and when I run await ctr.with_exec(["sh", "-c", "ls"]).stdout() on the Clickhouse container, the backup folder foobar is listed (output shortened for post length):
[...]
┃ entrypoint.sh
┃ etc
┃ foobar
┃ home
[...]
When I run await ctr.directory(".").entries() though, the directory is not listed:
['bin', 'boot', 'dev', 'docker-entrypoint-initdb.d', 'entrypoint.sh', 'etc', 'home', 'lib', 'lib32', 'lib64', 'libx32', 'media', 'mnt', 'opt', 'proc', 'root', 'run', 'sbin', 'srv', 'sys', 'tmp', 'usr', 'var']
Could this be caused by some virtual filesystem shenanigans, as mentioned in this post https://discord.com/channels/707636530424053791/1139358960927908013 ?
EDIT: I created a minimal example to reproduce my issue: https://gist.github.com/apokolokyntosis/e83813de64f130d981e853b139859cc8
Thanks in advance!
