mirror of
https://gitee.com/kennylee/docker.git
synced 2024-11-29 18:38:34 +08:00
完善各个docker image的README文件
This commit is contained in:
parent
f704e5ebc3
commit
e68a5b36d0
@ -1,3 +1,5 @@
|
||||
各种Java运行环境,有JDK或者JRE。
|
||||
|
||||
参考 https://github.com/dockerfile/java
|
||||
|
||||
环境配置了JAVA_HOME与JAVA_OPTS。
|
||||
|
@ -11,3 +11,7 @@ docker build -t kennylee26/redmine-git .
|
||||
初始化项目需手动的在该目录上项目目录并 git init --bare 进行git初始化,但创建后记得把权限改为777。
|
||||
|
||||
要想有更好的体验,最好通过在redmine插件进行仓库的创建。
|
||||
|
||||
|
||||
遗留问题:
|
||||
实践发现,有时候apache会报503错误,查看日志是提示信息是说git-http-backend的这个cgi脚本unable to connect to cgi daemon after multiple tries。而且重启docker容器未果,必须先停掉,然后再kill,再重新启动才行。
|
||||
|
@ -1,4 +1,7 @@
|
||||
参考 https://the.binbashtheory.com/creating-private-docker-registry-2-0-with-token-authentication-service/
|
||||
Docker Registry v2的docker-compose启动文件
|
||||
|
||||
-------
|
||||
注意,v1和v2的数据不兼容。
|
||||
|
||||
证书命令参考:
|
||||
openssl req -x509 \
|
||||
@ -6,3 +9,5 @@ openssl req -x509 \
|
||||
-nodes -days 3650 -newkey rsa:2048 -keyout server.key -out server.pem
|
||||
|
||||
openssl x509 -outform der -in server.pem -out server.crt
|
||||
|
||||
详细可参见https://the.binbashtheory.com/creating-private-docker-registry-2-0-with-token-authentication-service
|
||||
|
Loading…
Reference in New Issue
Block a user