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`.
- Host: GitHub
- URL: https://github.com/garethflowers/docker-svn-server
- Owner: garethflowers
- License: mit
- Created: 2016-08-02T12:50:28.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2025-05-12T06:34:42.000Z (about 1 year ago)
- Last Synced: 2025-05-20T06:04:20.980Z (about 1 year ago)
- Topics: docker, subversion, svn
- Language: Dockerfile
- Homepage: https://garethflowers.dev/docker-svn-server/
- Size: 94.7 KB
- Stars: 69
- Watchers: 8
- Forks: 15
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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).