我已经使用这个命令启动了一个容器(git服务)......
# Create local directory for volume.
$ mkdir -p /var/gogs
# Use `docker run` for the first time.
$ docker run --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogs/gogs
我能够启动 git 服务并可以从浏览器检查新创建的存储库...
http://52.201.82.96:10080/shantanuo/testme
但是当我按照这些步骤操作时,我收到一个错误(权限被拒绝):
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin http://localhost:3000/shantanuo/testme.git
git push -u origin master
是码头工人的问题吗?