(1)安装docker
service docker start
docker start gogs
(2)设置gogs随机启动
service docker enable
docker update --restart=always gogs
(3)预览浏览器问题
ERR_UNSAFE_PORT就是浏览器问题
https://blog.csdn.net/kjcxmx/article/details/118122483
(4)linux查询端口是否已启动
yum -y install net-tools
netstat -ant |grep 10080