Ssh port bind

Running gitlab with docker

I have gitlab_rails[‘gitlab_shell_ssh_port’]=2224

docker run -p 2222:2222 --network host gitlab:latest

But I keep getting the error:
Bind on port 22 on 0.0.0.0 failed: Address already in use.

Is there a way to get rid of this message?