Connecting to GitLab Docker repo from VSCode

Has anyone managed to do this? Or maybe I’m missing the correct incantation.

Should the URL point to the exact repo on GitLab?

We’re on port 5050 I believe, and using https on the server.

The same goes for Portainer, but this probably isn’t the place for that.