code-server instance w/ tmux and my settings
10K+
code-server instance w/ tmux and my settings
ref: https://github.com/cdr/code-server
curl -O https://raw.githubusercontent.com/choephix2/codercom/master/addcoder.sh && bash addcoder.sh -c -p
Fork this repo, then use -e SETTINGS_REPO=<your fork's url>
Add -e AUTOPULL_SETTINGS=true to pull from your repo every time the container is restarted.
You make changes to the user settings.json or keybindings.json, and sync them to that repo, but you still have to manually push them. Do this by going to folder /ini inside the container, and performing commit and push.
This way you can reuse your own vscode user settings in other containers as well.
Before copying, change the password and the project path.
sudo docker pull choephix2/coder:latest
sudo docker run -itd --privileged \
--restart unless-stopped \
--name coder-newproject \
--hostname newproject \
-p 44000:8443 \
-p 44080:80 \
-p 44036:3306 \
-e BOB=→ -e BOB_COLOR=93 \
-e GIT_USER_EMAIL="$(git config user.email)" \
-e GIT_USER_NAME="$(git config user.name)" \
-e PASSWORD="chimichanga" \
-v /projects/newproject:/home/coder/project \
choephix2/coder:latest
→ ● ► ♦ ♥ ♣ ♠ ○ ◊ ♪ ♫ ♯˃ › » ◦ · • √ ≈ ≡ ∞ ☻ ☺■ ▪ □ ▫ ▬ ▬ ─ ꞊ └ © ® °‼ µ ¶ § ∑ ∫ ∂ ⌂ ∆ † ‽ ¢✶ ♀ ♂ ⸗ ⱻ ⱺ fi fl ff ﬕ ﬗ ﬔⱮ Ɐ ≠ ℗ ₿ ₡ ₤ ₲ ₰ ₷ ₳ ⱷContent type
Image
Digest
Size
168.7 MB
Last updated
about 7 years ago
docker pull choephix2/coder