参考文献:

https://www.yeboyzq.com/linux/ruanjiananzhuangweihu/1012.html

https://www.jianshu.com/p/d92fd42bb391

一、拉取镜像:

docker pull gogs/gogs

可以对gogs镜像进行二次编辑,Dockerfile如下:

FROM gogs/gogs
RUN echo 'root:admin123' | chpasswd \
  && echo 'git:321#@!' | chpasswd
View Code

相关文章:

  • 2022-12-23
  • 2021-09-12
  • 2021-10-21
  • 2022-01-17
  • 2022-03-11
  • 2022-02-20
  • 2022-02-16
猜你喜欢
  • 2022-02-28
  • 2021-08-30
  • 2022-01-14
  • 2022-12-23
  • 2021-06-20
  • 2021-04-12
  • 2022-01-02
相关资源
相似解决方案