I’m using LocalStack Pro and trying to configure a mount that each of my EC2 Instances will use (/sys/fs/cgroup). I’m adding --volume /sys/fs/cgroup:/sys/fs/cgroup to EC2_DOCKER_FLAGS but it doesn’t appear to be picked up. Actually, the container doesn’t start when I include anything other than --privileged in my EC2_DOCKER_FLAGS var.
What options are supported in EC2_DOCKER_FLAGS? The docs suggest --volume but it doesn’t seem to be the case.
EDIT: This is on LocalStack 3.0.0, RHEL 9.2, and Docker 24.0.7