Run Apache Subversion Containerized in Docker @i12bretro
Run Apache Subversion Containerized in Docker  @i12bretro
Uploaded November 2024 | Updated November 2026, 2 days ago
#Subversion #Docker #Linux

Full steps can be found at i12bretro.github.io/tutorials/0715.html

--------------------------------------------------------------------
What is Subversion?
--------------------------------------------------------------------
Subversion exists to be universally recognized and adopted as an open-source, centralized version control system characterized by its reliability as a safe haven for valuable data; the simplicity of its model and usage; and its ability to support the needs of a wide variety of users and projects, from individuals to large-scale enterprise operations. - subversion.apache.org
 
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
   01. Log into the Linux based device
   02. Run the following commands in the terminal
         # install prerequisites
         sudo apt install apt-transport-https ca-certificates git curl software-properties-common gnupg-agent -y
         # add docker gpg key
         curl -fsSL download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
         # add docker software repository
         sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
         # install docker
         sudo apt install docker-ce docker-compose containerd.io -y
         # enable and start docker service
         sudo systemctl enable docker && sudo systemctl start docker
         # add the current user to the docker group
         sudo usermod -aG docker $USER
         # reauthenticate for the new group membership to take effect
         su - $USER
 
--------------------------------------------------------------------
Running Subversion
--------------------------------------------------------------------
   01. Now that Docker is installed, run the following commands to setup the Subversion Docker container and run it
         # create repository directory
         mkdir ~/docker/subversion/repos -p
         # run subversion container
         docker run -d --name=subversion -p 8080:80 -p 3690:3690 -v ~/docker/subversion/repos:/data/svn -e SVN_LOCAL_ADMIN_USER=admin -e SVN_LOCAL_ADMIN_PASS=SomethingSecure --restart=unless-stopped iaean/subversion
   02. Open a web browser and navigate to http://DNSorIP:8080
   03. Login with the credentials set with the SVN_LOCAL_ADMIN_USER and SVN_LOCAL_ADMIN_PASS environment variables
   04. Open a new browser tab and navigate to http://DNSorIP:8080/websvn
   05. Welcome to Subversion running in Docker
 
--------------------------------------------------------------------
Create a New Repository
--------------------------------------------------------------------
   01. With Subversion running, continue with the following commands to create a new code repository
         # create a repository called demorepo
         docker exec -it subversion /usr/bin/svnadmin create /data/svn/sandbox/demorepo
   02. Back in the browser refresh WebSVN to see the new repository
 
Source:  github.com/iaean/docker-subversion
 


### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
Run Apache Subversion Containerized in DockerRunning MediaWiki in Docker on Ubuntu ServerRun Minecraft on DebianInstall Mattermost - Secure Collaboration Platform - on LinuxInstall Actual Budget - Open Source Finance Management - on LinuxRunning Snipe-IT in DockerRun Easy!Appointments - Appointment Scheduler System - in DockerRun MkDocs - Read the Docs Alternative - in DockerRun Matomo - Google Analytics Alternative - in DockerRunning PHP Server Monitor in DockerConfigure SSH Key-Based Authentication on LinuxRun Dashy Application Dashboard in Docker
i12bretro |

Run Apache Subversion Containerized in Docker

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER