Sadly this command is wrong in the docs. It needs to be
docker compose -f ./greenbone-community-container/docker-compose.yml -p greenbone-community-edition
run --rm greenbone-feed-sync greenbone-feed-sync --type gvmd-data
but nevertheless you don’t need to run the commands to sync the feed manually at all for the containers. There is no reason for doing that despite experiments and learning about the internals.