#!/usr/bin/env bash

export SUDO_ASKPASS='/usr/lib/seahorse/ssh-askpass'

# Make sure the docker daemon is running
if ! systemctl status --no-pager docker.service > /dev/null; then
	sudo -A systemctl start docker.service
fi

# Make sure the container is running
sudo -A docker run -d -p 8000:8000 mpepping/cyberchef

firefox-developer-edition localhost:8000
