maybe install gitea instead
draft
docker pull gogs/gogs mkdir -p /data/gogs/ #docker rm -f gogs docker run -d --name=gogs -p 10022:22 -p 3000:3000 -v /data/gogs:/data gogs/gogs
run the web wizard,
http://192.168.45.7:3000/ (don't forget to create admin account and remember password)
get into the container,
docker exec -ti gogs bash
setup some handy aliases,
cd ~/ vi .bash_profile alias ll='ls -alhF' source .bash_profile
(optional) create a custom config and change a setting e.g.,
#cd /data/gogs/ #mkdir -p custom/conf/ #cp conf/app.ini custom/conf/ #vi custom/conf/app.ini #APP_NAME = Gogs PoC
Docker for Gogs https://github.com/gogits/gogs/tree/master/docker
Configuration and run https://gogs.io/docs/installation/configuration_and_run
What is Gogs? https://gogs.io/docs