A tool for creating Urbit docker containers easily
- Make sure you have docker installed
- Enter sudo mode (only required if you need to be a root user to do docker stuff)
- Copy all your planet keyfiles into the
install
directory - ./boot.sh
- The keys of booted planets will then be moved into the
done
directory
Note: if the boot fails, there currently isn't a way to automatically remove the volumes and containers created. I'll probably add this in the future
The way this script works is that it spawns the first planet with the ports hardcoded in boot.sh
and loops through each keyfile incrementing the ports by 1. This means that you currently have to manually keep track of the ports being used by the spawned planets. This is not ideal and will be worked on to be dynamic.
- Make it less shitty
- Automatically remove containers and volumes should the boot process fail for a specific keyfile/planet.
- Un-hardcode the initial ports when running the script
- Frontend for managing ships as a hosting provider
- More commands through the http api. The scripts provided with the docker image is insufficient for any serious ship management
- Rewrite the Urbit docker image to add more functionality
Please do not post it on Github. I'm a Github noob. Direct all your complaints to our Public Urbit Group ~donpub-datdux/gerhana-network
Everything you see here is provided as is. Feel free to do anything you want with the code written in this repo.