Docker GitLab-ce Setting ssh port
Hello, I open this issue because I have a question about the configuration of setting ssh port between Docker (docker-compose config file) and GitLab-ce container. My docker host server is running ssh over port 22 so I can't start my GitLab-ce container with this configuration in my docker-compose.yml config file : ` ports: - '22:22' ` I got this error message : > Creating gitlabce_web_1 ... error > > ERROR: for gitlabce_web_1 Cannot start service web: b'driver failed programming external connectivity on endpoint gitlabce_web_1 (d7fa55c38fa16d7bd5e6a9e028ba57a30e3713320f04b6cc70b643d0891cf926): Error starting userland proxy: listen tcp 0.0.0.0:22: bind: address already in use' > > ERROR: for web Cannot start service web: b'driver failed programming external connectivity on endpoint gitlabce_web_1 (d7fa55c38fa16d7bd5e6a9e028ba57a30e3713320f04b6cc70b643d0891cf926): Error starting userland proxy: listen tcp 0.0.0.0:22: bind: address already in use' > ERROR: Encountered errors while bringing up the project. So my requierments are that I would not want my GitLab users to change any config to push/pull/commit their code in their repositories and have an url with a custom port in it. And I can't change the listening ssh port on the docker host because of patching security process already in place. What is the best way to deal with the ssh port forwarding configuration ? Is it possible to have docker host and container using the same ssh port ? Thank you very much for your help Best regards,
issue