Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.15 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.15 KB

cvmfs-server-docker

A Dockerized CVMFS stratum 0 server with a MinIO backend.

Note

This is a work in progress and should not be used in production. The roadmap is outlined in the TODO section.

Getting started

Initialize the CVMFS repository:

# 1. start minio
docker compose up minio
# 2. (MANUAL) make the cvmfs bucket publicly readable (e.g. via the web interface)

# 3. start the cvmfs server
docker compose run cvmfs-server

# 4. create the cvmfs repository
cvmfs_server mkfs -s /workspace/s3.conf -w http://minio:9000/cvmfs cvmfs.cluster.watonomous.ca

Make changes to the CVMFS repository:

# In the cvmfs-server container
cvmfs_server transaction

# Make changes to the repository
echo "test" > /cvmfs/cvmfs.cluster.watonomous.ca/test.txt

# Publish the changes
cvmfs_server publish

TODO

  • Figure out how to access the repo as a client
  • Automate transactions for programmatic changes via CI (potentially with grafting support)

References