docker run -it --rm -d --network host -v $PWD:/e2e -w /e2e cypress/included:3.2.0
docker run -it \
--rm \
-v $PWD:/e2e \
-w /e2e \
--network host \
-e DISPLAY=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}'):0 \
-v ~/.Xauthority:/root/.Xauthority:ro \
--entrypoint cypress \
cypress/included:3.2.0 open --project . --config baseUrl=http://host.docker.internal:8080
https://www.cypress.io/blog/2019/05/02/run-cypress-with-a-single-docker-command/
linked in Running Cypress in Docker https://sourabhbajaj.com/blog/2017/02/07/gui-applications-docker-mac/