SVN is the abbreviation of subversion, an open source version control system that uses a branch management system for efficient management. In short, it is used for multiple people to jointly develop the same project, share resources, and achieve ultimate centralized management. 1. Search && pull svn mirror docker search svn #Search for svn images docker pull garethflowers/svn-server #Get images 2. Run the image docker images #View the image docker run --name svn-server -d -v /Users/xxxx/docker/svn:/var/opt/svn -p 3690:3690 garethflowers/svn-server #Start the image-name #Alias-d #Background run-v #Host and container directory mapping-p #Host and container port mapping 3. Enter the container 4. Configure SVN server Create a resource repository Create a successful build file README.txt conf db format hooks locks Resource warehouse configuration Modify the svnserve.conf file in the conf directory anon-access = none # Anonymous users cannot read or write, and can also be set to read-only auth-access = write # Authorized users can write password-db = passwd # Password file path, relative to the current directory authz-db = authz # Access control file realm = /var/opt/svn/svn # Authentication namespace, which will be displayed in the authentication prompt interface and used as a keyword for the credential cache. You can write the repository name, such as svn Configure account and password Modify the passwd file in the conf directory [users] # harry = harryssecret # sally = sallyssecret admin = 123456 Configure account permissions and modify the authz file in the conf directory [groups] owner = admin [/] # / means all repositoriesadmin = rw # User admin has read and write permissions in all repositories[svn:/] # Indicates that the following users have corresponding permissions in all directories of the repository svn@owner = rw # Indicates that users under the owner group have read and write permissions 5. svn pull files svn co svn://127.0.0.1:3690/svn Summarize This is the end of this tutorial on how to build an SVN server with Docker. For more information about Docker SVN server, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: js and jquery to achieve tab status bar switching effect
>>: Summary of knowledge points about null in MySQL database
MySQL server has gone away issue in PHP 1. Backgr...
CSS issues about background gradient and automati...
Table of contents 1. Related binlog configuration...
Table of contents Special characters in URLs URL ...
I always thought that Docker had no IP address. I...
1. Question: I have been doing insert operations ...
1: Check the PHP version after entering the termi...
Zabbix Server Environment Platform Version: ZABBI...
Table of contents Preface text Primitive types Pr...
1. Install Docker yum -y install docker-io The &q...
Table of contents 1.1. Enable MySQL binlog 1.2. C...
Python connects to MySQL to modify and query data...
Script requirements: Back up the MySQL database e...
When making some pages, in order to make the page...
MySQL slow query, whose full name is slow query l...