An open API service indexing awesome lists of open source software.

https://github.com/garethflowers/docker-svn-server

A Docker image running a simple Subversion server, using `svnserve`.
https://github.com/garethflowers/docker-svn-server

docker subversion svn

Last synced: 11 months ago
JSON representation

A Docker image running a simple Subversion server, using `svnserve`.

Awesome Lists containing this project

README

          

# 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`

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

#### ...via `docker compose`

```sh
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:

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

## License

- Apache Subversion is released under the
[Apache License](https://www.apache.org/licenses/LICENSE-2.0).
- This image is released under the
[MIT License](https://raw.githubusercontent.com/garethflowers/docker-svn-server/master/LICENSE).