main
ROOT /
pages /
run-as-docker-container.md
9 lines | ISO-8859-1 | 520 bytes

Run as Docker Container


This is the simplest approach to get OneDev up and running. Idea for demonstration/concept-proof purpose. To do it, run below command in Linux environment:

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/onedev:/opt/onedev -p 6610:6610 -p 6611:6611 1dev/server

NOTE: The host path $(pwd)/onedev will be used to store OneDev data, including database and repositories. Port 6610 is for web access and git over http, while 6611 is for git over ssh

Please wait...
Page is in error, reload to recover