docker run -d --name svn-server -p 80:80 -p 3690:3690 iwayqa/svn-server
You can optionally bind a local folder to the container folder that will store your repositories using the flag -v [hostpath]:/home/svn.
like that:
docker run --name svn-server -d -v F:/Repositories/svn-server:/home/svn -p 88:80 -p 3690:3690 iwayqa/svn-server
set write permission for /home/svn
docker exec -it svn-server chmod 744 /home/svn
docker exec -t svn-server htpasswd -b /etc/subversion/passwd [username] [password]
To verify that everything is up and running, open your browser and connect to http://localhost/svn. The system should ask you for the username and password, then it will show you an empty folder (no repos yet!). Check also that the custom protocol is working fine: go to your terminal and type svn info svn://localhost:3690. The system should connect to the server and tell you that is not able to find any repository. For further information on how to configure Subversion, please refer to the official web page.
Content type
Image
Digest
Size
17.8 MB
Last updated
almost 5 years ago
docker pull iwayqa/svn-server