Last active
October 6, 2017 09:42
-
-
Save bixu/28059772f42f9dcb92227ccd0a62299f to your computer and use it in GitHub Desktop.
get shell in triton in about 30 seconds
This file contains hidden or 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 | |
set -ex | |
# This assumes you have a Triton account | |
# (see http://lpage.joyent.com/Triton-Free-Trial.html) | |
# and that you have installed the Triton cli tools: | |
# `npm install -g triton` | |
triton instance create 7b5981c4 g4-highcpu-1G \ | |
--name test-container \ | |
--wait | |
triton ssh test-container | |
triton delete test-container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment