Automatically initialize and manage a Citadel.
This installation method uses nested Docker containers (Docker-in-Docker) for a lightweight and fast way to get up and running with Citadel. Sysbox enables us to do this in a way that is easy and secure. The inner Docker is totally isolated from the Docker on the host.
mkdir -p ~/.citadel && curl -#L https://github.com/runcitadel/citadel-dev/tarball/main | tar -xzv --strip-components 1 --exclude={citadel-startup.service,Dockerfile,README.md,LICENSES,LICENSE,.gitignore,.github} -C ~/.citadel
Running the above command downloads the repository to ~/.citadel. To update later on, just run that command again.
Make the command available in your shell
export PATH="$PATH:$HOME/.citadel/bin"
If you want to have it permanently, also add the line to the correct profile file (~/.bash_profile, ~/.zshrc, ~/.profile, or ~/.bashrc).
Install the required dependencies if you haven't already
citadel install
Initialize your environment
citadel init
Start Citadel and login in with the default credentials (user: citadel, password: freedom)
citadel boot
List all possible commands
citadel help
This CLI also serves as an easy way to bootstrap a development environment with hot module replacement for rapid iterations.
For linking @runcitadel packages use yarn link -r ../<package>
& yarn unlink ../<package>
as needed from the appropriate directory.
citadel init --development
For information on how to setup a Multinode environment in regtest mode with Lightning Polar, see here.
Run docker info
and make sure you have "overlay2" configured as your storage driver and that docker knows about Sysbox as a runtime.
- Unknown runtime specified sysbox-runc
- Inner containers fail to start / stop
Make sure you have "overlay2" configured as your storage driver, see https://docs.docker.com/storage/storagedriver/overlayfs-driver/
For Sysbox related issues see https://github.com/nestybox/sysbox/blob/master/docs/user-guide/troubleshoot.md
All code committed on and before git commit 874d4d8
is licensed via MIT and © Umbrel
All code committed after git commit 874d4d8
is licensed GPL v3