Tutorial: run your gogs server in docker

Gogs is a great git server with a modern and easy to use web frontend. But it is a pain to install all it different parts and get a running go environment. But there is a great docker image to setup everthing in one command on your Raspberry Pi.

  1. Run gogs Raspberry Pi image.

    docker run -d --name go-git-server --publish 8022:22 --publish 3000:3000 --volume /yourgogsdata:/data hypriot/rpi-gogs-raspbian
  2. Run configuration of gogs

    http://ip-of-raspberrypi:3000/install