Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am cryptodusan on github.
  • I am ds8 (https://keybase.io/ds8) on keybase.
  • I have a public key ASBQx7xatBGfX1tIe8rHuUb4L22VIMB90oztii78LVbXIwo

To claim this, I am signing this object:

@cryptodusan
cryptodusan / ironfish.sh
Last active September 14, 2021 07:15
Ironfish Docker script
#!/bin/bash
CONTAINER_NAME=ironfish
RUNNING=$(docker ps -f name=${CONTAINER_NAME} -q)
if [ -z $RUNNING ]; then
docker run --rm --tty --interactive --name $CONTAINER_NAME --network host --volume $HOME/.ironfish:/root/.ironfish ghcr.io/iron-fish/ironfish:latest $@
else
docker exec --tty --interactive $CONTAINER_NAME ./bin/run $@