Hi, I am building a Dagger module for LocalStack. LocalStack allows users to create mock/emulated AWS resources locally. One of our requirements is to mount Docker socket into the LocalStack container which would allow users to create resources that require a Docker container to emulate, like Lambda function & EC2 instances. How can I do that in Dagger, since I saw some threads that it is not supported any longer. I tried using this command:
dagger call serve --auth-token=ls-XXXXXX up --ports 4566:4566 --ports 443:443 --docker-sock /var/run/docker.sock
✔ connect 0.2s
✔ load module 7.1s
✘ parsing command line arguments 0.0s
! unknown flag: --docker-sock
How can I fix that, or use any other workarounds?