Last active
May 19, 2024 13:23
-
-
Save alexolinux/e602ce2608fe63c6dd5ab39f83e485cd to your computer and use it in GitHub Desktop.
code-server Docker container
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
| #https://hub.docker.com/r/linuxserver/code-server | |
| docker run -d \ | |
| --name=code-server \ | |
| -e PUID=1000 \ | |
| -e PGID=1000 \ | |
| -e TZ=Etc/UTC \ | |
| -e PASSWORD="${PASSWORD}" \ | |
| -e SUDO_PASSWORD="${SUDO_PASSWORD}" \ | |
| -e DEFAULT_WORKSPACE=/config/workspace \ | |
| -p 8443:8443 \ | |
| -v "${HOME}/.config:/config" \ | |
| --restart unless-stopped \ | |
| lscr.io/linuxserver/code-server:latest | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment