Gareth Flowers

Software Engineer

SVN Server

A simple Subversion server, using svnserve.

How to use this image

Start a Subversion Server instance

To start a container, with data stored in /home/svn on the host, use the following:

…via docker run

docker run \
    --name my-svn-server \
    --detach \
    --volume /home/svn:/var/opt/svn \
    --publish 3690:3690 \
    garethflowers/svn-server

…via docker compose

services:
  svn:
    image: garethflowers/svn-server
    ports:
      - 3690:3690/tcp
    volumes:
      - /home/svn:/var/opt/svn

Creating a new SVN Repository

Use svnadmin within your container to create and manage repositories.

For example, to create a repository called new-repo in container my-svn-server, use the following:

docker exec -it my-svn-server svnadmin create new-repo

License