Bravetools
Bravetools is an end-to-end tool for creating and managing applications and environments using System Containers. It uses a single source configuration to make it easy to build, deploy, and scale machine images.
Bravetools runs on Linux, MacOS, and Windows.
Features
- Build, version control, and share reproducible application and environment images.
- Compose multi-container systems in a simple and declarative way.
- Deploy your systems locally or remotely.
And many more.
Installation
Prerequisites:
- Mac/Windows: Multipass
- Linux:
- LXD
- Ensure your user belongs to the
lxd
group:sudo usermod --append --groups lxd $USER
- You may also need
zfsutils
:sudo apt install zfsutils-linux
-
Download the latest stable release for your host platform and add it to your
$PATH
. -
Run
brave init
to get started.
Installing from source
Linux/MacOS
git clone https://github.com/bravetools/bravetools
cd bravetools
make [ubuntu]/[darwin]
Windows
git clone https://github.com/bravetools/bravetools
cd bravetools
go build -ldflags=“-s -X github.com/bravetools/bravetools/shared.braveVersion=VERSION” -o brave.exe
Command Reference
A complete System Container management platform
Usage:
brave [command]
Available Commands:
base Pull a base image from LXD Image Server or public Github Bravefile
build Build an image from a Bravefile
compose Compose a system from a set of images
configure Configure local host parameters
deploy Deploy Unit from image
help Help about any command
images List images
import Import LXD image tarballs into local Bravetools image repository
info Display workspace information
init Create a new Bravetools host
mount Mount a directory to a Unit
publish Publish deployed Units as images
remote Manage remotes
remove Remove Units or Images
start Start Units
stop Stop Units
umount Unmount <disk> from UNIT
units List Units
version Show current bravetools version
Flags:
-h, --help help for brave
Use "brave [command] --help" for more information about a command.