Last active
June 27, 2017 15:02
-
-
Save thenets/3f7ba8f59fb1dc1c0524c830ed21e8ca to your computer and use it in GitHub Desktop.
Start a TyrAlgorithm Worker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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