Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 712 Bytes

build_own_image-README.md

File metadata and controls

31 lines (22 loc) · 712 Bytes

Building your own Kraken dashboard image

Clone the repository

$ git clone https://github.com/krkn-chaos/krkn-dashboard.git

Checkout the branch

$ git checkout <feature_branch> 

Build the image

$ cd krkn-dashboard
$ podman build -t <new_image_name>:latest -f containers/Dockerfile .

Run

Do the following as root

$ export CHAOS_ASSETS=/var/tmp/chaos

$ mkdir -p $CHAOS_ASSETS

$ podman run --env CHAOS_ASSETS -v $CHAOS_ASSETS:/usr/src/chaos-dashboard/src/assets:z -v /run/podman/podman.sock:/run/podman/podman.sock --net=host -d --name <container_name> <new_image_name>:latest

Go to http://localhost:3000 to check the dashboard and trigger krkn scenarios!