URL details: ehlxr.me/2021/01/06/docker-gitea-share-port-22-with-host/
URL title:
Docker 安装 Gitea/Gogs 与主机共享 22 端口 | Ehlxr's Blog
URL description:
如果主机的 22 端口已被使用,使用 Docker 安装 Gitea 时只能把容器的 22 端口映射到主机的其它端口(如:10022),这是没有任何问题的。但是以 SSH 方式 clone 项目时,URL 长这样ssh://[email protected]:10022:username/project.git 如果我们想要类似以下这样的 URL 时就需要把 Gitea 容器的和主机共享 22
URL last crawled:
2022-07-01
URL speed:
0.794 MB/s,
downloaded in 0.060 seconds
We found no external links pointing to this url.