admin/ March 28, 2017/ Docker, Linux/ 1 comments

Use Apache Subversion (SVN) and websvn Using Docker.

Apache Subversion (often abbreviated SVN, after its command name svn) is a software versioning and revision control system distributed as open source under the Apache License. Software developers useSubversion to maintain current and historical versions of files such as source code, web pages, and documentation.


This is very simple to use the Subversion Server on docker. You don’t need to learn linux and make many configuration for it.
I am going to show you the very easy way to use Subversion on Docker. I have build a Docker image for it. You just need to pull that image and start container. There are the few way to launch container.
I have shown the two easiest way to run docker container for Subversion.

Github URL-:

Required Packages-:
Docker and Docker Compose.

Docker-: To install docker on your Linux machine (Ubuntu/CentOS/RedHat)
For CenTOS/Redhat

For Ubuntu/Debian

To start docker service.

DockerCompose-: To install docker-compose, Please make sure that curl package is installed.

Change the permission to executable.

Finally, your machine is ready to run docker containers.

First method-: Run docker container as command. You need to run using below command.

In the above command -p is used for port. If you want to change SVN port for your machine or available port, you can change as below:

Second Method-: This method is very easy method for everyone. You just need to create a file named as docker-compose.yml. Paste the below content in the file.

Save and exit.

To start the docker container using below command.

To stop the docker container.

How to create SVN Repository ?

First of all generate ssh public key using below command.

Step 1-: Authenticate your localhost to docker container

Enter the password “gotechnies”

Step 2-: Create SVN repository.

Step 3-: Checkout your SVN repository

Default Username and password.
Username-: admin
Password-: gotechnies

1 Comment

  1. Pingback: Install Subversion and Websvn on Ubuntu 16.04

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.