I’d like to make a
docker-compose.yml with a stanza like this:
services: desktop: # build: . image: debian-desktop ports: - 5902:5901 networks: - shared volumes: - /home/alx/src:/home/alx/src security_opt: - seccomp:chrome.json
chrome.json is a complex
seccomp profile. With
docker run, this profile can be passed with
--security-opt seccomp:./chrome.json, but I can’t figure out how the cognate syntax for
docker-compose.yml. I’m not the first person to run into this, and haven’t found any solutions online, so it’s possible there just isn’t one.