Docker configuration options via --cap-add

I have a Docker container that requires both:

 --cap-add=NET_ADMIN \
  --cap-add=SYS_ADMIN \

privileges and I am wondering if there is a way to signal this via the fly.toml configuration

is that required for building the image, or just running it?

Fly doesn’t run Docker containers, but converts the built image to VMs. I think you’ll have those caps available to you when actually running the VM.

I’ll let someone come and say otherwise if i’m wrong.