Problem with publishing local gitlab on url (using docker for mac)

Hi,
I’m trying to install gitlab using docker for mac.

I’ve tried with:

sudo docker run --detach \
--hostname gitlab.example.com \
--env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.example.com/'; gitlab_rails['lfs_enabled'] = true;" \
--publish 443:443 --publish 80:80 --publish 22:22 \
--name gitlab \
--restart always \
--volume $GITLAB_HOME/config:/etc/gitlab \
--volume $GITLAB_HOME/logs:/var/log/gitlab \
--volume $GITLAB_HOME/data:/var/opt/gitlab \
gitlab/gitlab-ee:latest

I’ve tried without GITLAB_OMNIBUS_CONFIG too.
$GITLAB_HOME is my user’s $HOME/gitlab directory (has 777 permissions).

I can’t get it working. Gitlab works on http://localhost but it’s not available on any url.
I struggled with starting gitlab but adding some ram to the container and more own patience on startup helped :slight_smile:.
Now, it’d be convenient to have hostname like “gitlab.local” or similar.
Thanks.