A simple Subversion server, using svnserve
.
To start a container, with data stored in /home/svn
on the host, use the
following:
docker run \
--name my-svn-server \
--detach \
--volume /home/svn:/var/opt/svn \
--publish 3690:3690 \
garethflowers/svn-server
services:
svn:
image: garethflowers/svn-server
ports:
- 3690:3690/tcp
volumes:
- /home/svn:/var/opt/svn
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
- Apache Subversion is released under the Apache License.
- This image is released under the MIT License.