@mamemomonga is that sarcasm? There's nothing difficult about SSH .
@mamemomonga I don't recall ever having an issue with gitlab + ssh + docker... Though I do recall reading that you indeed can reassign a different port for ssh.
@lucifargundam If your host's SSH is not 22 or not in use, this shouldn't be a problem.
You can change the SSH port number in GitLab and change the SSH port of Git+SSH in the client, but it's a bit of a pain.
@mamemomonga thanks for bringing this up- I'll have to try this tutorial out later for my own confidence https://docs.bytemark.co.uk/article/how-to-setup-a-gitlab-server-using-docker/
@lucifargundam Here you have changed the local SSH port to 2222. This method looks good too. I'm going to give it a try sometime soon. Thanks for the info!
@lucifargundam What happens if you log in to the host running Docker by SSH and start it? It probably won't start, and you have to change the port number of the host-side SSH to get it to start, which is cumbersome.