A docker image that creates a single AFS server and a docker image that is an AFS client.
- An AFS server with
- A protection database server
- A volume location server
- A backup server
- Demand-attach file server
- An AFS admin user (by default afsadmin.admin)
- An AFS client where you can run AFS functions
Just run ./start.sh
on the root directory of this repo.
You will need to have Vagrant installed.
- Change the file
afs.env
. This way the properties will be shared between the various containers. - Define environment variables in
docker-compose.yml
. You will need to define them for each service that uses AFS.
You can also customize Kerberos parameters in the kerberos.env
file.
This repository has designed to bootstrap the creation of an AFS server for projects that need an AFS installation to perform tests.
For example: you have a project that uses AFS and you need to test it against a working AFS installation. You will need to create in your project repository the necessary files to setup an AFS server. To bootstrap that process you can simply copy this repository files to your project and them modify them so that you can test your application inside the afs-client container.
If you want to keep up with the possible changes of this repo, you can use:
These are the resources that were used, in some way or another, to create the files in this repository.
- OpenAFS Quick Start Guide - Installing the First AFS Machine
- Debian afs-newcell script
- Debian afs-rootvol script
- OpenAFS installation on Debian
- Wikibooks User:Tiicoo/AFSKRB/AFSConfig
- OpenAFS Gentoo Wiki
docker-afs is open source and available under the MIT license.