Skip to content

Instantly share code, notes, and snippets.

@mbierman
Created April 14, 2022 21:51
Show Gist options
  • Select an option

  • Save mbierman/a0ba36678c82586622f22e9ec2e2751b to your computer and use it in GitHub Desktop.

Select an option

Save mbierman/a0ba36678c82586622f22e9ec2e2751b to your computer and use it in GitHub Desktop.
get docker running instructions
#!/bin/bash
# https://hub.docker.com/r/assaflavie/runlike/
if [ $1 ] ; then
sudo docker run -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike $1
else
echo -e "\nYou must specify a docker container that is running, like so: \n\n $0 homebridge\n "
exit
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment