Sorry -- How Install on OS X?


On Mojave trying to install Gitlab EE through Docker. I code almost entirely for statistical packages. So I’m lost in the programming instructions of how to properly setup the GitLab. i installed Docker and first ran

docker pull gitlab/gitlab-ce

sudo docker run --detach
–publish 443:443 --publish 80:80 --publish 22:22
–name gitlab
–restart always
–volume /srv/gitlab/config:/etc/gitlab
–volume /srv/gitlab/logs:/var/log/gitlab
–volume /srv/gitlab/data:/var/opt/gitlab

Just like the instructions describe. But I get an error I’m seeing a lot online but still can’t find the fix. It outputs the error message:
docker: Error response from daemon: Mounts denied:
The paths /srv/gitlab/data and /srv/gitlab/logs and /srv/gitlab/config
are not shared from OS X and are not known to Docker.
You can configure shared paths from Docker -> Preferences… -> File Sharing.
See for more info.

thanks. I must be doing something blatantly wrong.