Skip to content

Instantly share code, notes, and snippets.

@thenets
Last active June 27, 2017 15:02
Show Gist options
  • Save thenets/3f7ba8f59fb1dc1c0524c830ed21e8ca to your computer and use it in GitHub Desktop.
Save thenets/3f7ba8f59fb1dc1c0524c830ed21e8ca to your computer and use it in GitHub Desktop.
Start a TyrAlgorithm Worker
#!/bin/bash
# Install Docker if not avaliable
if ! [ -x "$(command -v docker)" ]; then
curl -sSL https://get.docker.io | sudo sh
fi
# Update Tyr Worker image
docker pull thenets/tyrworker:latest
# Start Tyr Worker
docker run --rm -i thenets/tyrworker:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment