Last active
August 8, 2017 13:22
-
-
Save kaosf/b295ad2c37723e9c1627038c6428782f to your computer and use it in GitHub Desktop.
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
set -x | |
# # Preparation | |
# sudo docker run -it quay.io/tatsuya6502/rusti | |
# cd ~/rusti | |
# cargo run | |
# # Ctrl+D to exit | |
# # Ctrl+P, Ctrl+Q to detach | |
CONTAINER_ID=$(sudo docker ps | grep 'quay.io/tatsuya6502/rusti' | head -1 | awk '{print $1}') | |
sudo docker attach $CONTAINER_ID | |
# cargo run | |
# ref. https://github.com/murarth/rusti | |
# ref. http://qiita.com/tatsuya6502/items/61af3f4d6c52e472f899 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment