Last active
March 15, 2019 13:39
-
-
Save rostegg/0b86986bf3f4a975a4d566a40546de51 to your computer and use it in GitHub Desktop.
Just run code server instance in selected directory
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 | |
| read -e -p $'\e[32mEnter work dir:\e[0m ' CODE_WORK_DIR | |
| sudo docker run -t -p 127.0.0.1:8443:8443 -v "$CODE_WORK_DIR:/root/project" codercom/code-server --allow-http --no-auth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment