Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.02 KB

Brightbox Docker Containers

This repository automatically builds docker containers containing tools to access Brightbox Cloud.

  • Brightbox Cloud CLI

The docker containers are built once a day, ensuring you always have the latest tools available. Just replace your usual command line with the equivalent docker run command.

Brightbox Cloud CLI Usage

Brightbox Cloud CLI requires a working directory which can store the config. You can map any directory you like, or you can co-opt the default one created by a local cli command. You can use this directory with the following:

docker run -it --user $(id -u):$(id -g) -e "HOME=$HOME" -v ~/.brightbox:$HOME/.brightbox brightbox/cli <command>

For example:

docker run -it --user $(id -u):$(id -g) -e "HOME=$HOME" -v ~/.brightbox:$HOME/.brightbox brightbox/cli accounts
docker run -it --user $(id -u):$(id -g) -e "HOME=$HOME" -v ~/.brightbox:$HOME/.brightbox brightbox/cli server create img-6xysw