Docker Community Forums

Share and learn in the Docker community.

Possible to specify port for git url in build context?

(Dockeranon1) #1

By default Bitbucket uses port 7999 for SSH,

My org has chosen not to setup port forwarding to port 22. docker compose allows for ssh via a git url by using the ‘git@’ prefix but I couldn’t find any property to specify a port so I just wanted to check and see if it was possible to use a port other than the 22?