VSCode: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
<source lang="bash"> | <source lang="bash"> | ||
mkdir -p $HOME/ | mkdir -p $HOME/chorke/academia/java/base_wss/core_ws | ||
docker run --detach \ | docker run --detach \ | ||
--name=vscode \ | --name=vscode \ | ||
Line 21: | Line 21: | ||
--env TZ=Asia/Kuala_Lumpur \ | --env TZ=Asia/Kuala_Lumpur \ | ||
--env SUDO_PASSWORD=sadaqah! \ | --env SUDO_PASSWORD=sadaqah! \ | ||
--volume "$HOME/ | --volume "$HOME/chorke/academia/java/base_wss/core_ws:/config" \ | ||
hub.chorke.org/linuxserver/code-server | hub.chorke.org/linuxserver/code-server | ||
</source> | </source> | ||
<source lang="bash"> | <source lang="bash"> | ||
mkdir -p $HOME/ | mkdir -p $HOME/chorke/academia/java/base_wss/core_ws | ||
docker run --detach \ | docker run --detach \ | ||
--name=vscode \ | --name=vscode \ | ||
Line 36: | Line 36: | ||
--env TZ=Asia/Kuala_Lumpur \ | --env TZ=Asia/Kuala_Lumpur \ | ||
--env SUDO_PASSWORD=sadaqah! \ | --env SUDO_PASSWORD=sadaqah! \ | ||
--volume "$HOME/ | --volume "$HOME/chorke/academia/java/base_wss/core_ws:/config" \ | ||
hub.chorke.org/linuxserver/code-server:arm32v7-version-v3.8.0 | hub.chorke.org/linuxserver/code-server:arm32v7-version-v3.8.0 | ||
</source> | </source> |
Revision as of 05:53, 3 January 2021
mkdir -p $HOME/.chorke/docker/vscode/.config
docker run -it --name=vscode \
--env "DOCKER_USER=$USER" \
--user "$(id -u):$(id -g)" \
--publish 127.0.0.1:8080:8080 \
--volume "$HOME/.chorke/docker/vscode/.config:/home/coder/.config" \
--volume "$HOME/chorke/academia/java/base_wss/core_ws:/home/coder/project" \
hub.chorke.org/codercom/code-server:latest
mkdir -p $HOME/chorke/academia/java/base_wss/core_ws
docker run --detach \
--name=vscode \
--env PUID=1000 \
--env PGID=1000 \
--publish 8443:8443 \
--env PASSWORD=sadaqah! \
--restart unless-stopped \
--env TZ=Asia/Kuala_Lumpur \
--env SUDO_PASSWORD=sadaqah! \
--volume "$HOME/chorke/academia/java/base_wss/core_ws:/config" \
hub.chorke.org/linuxserver/code-server
mkdir -p $HOME/chorke/academia/java/base_wss/core_ws
docker run --detach \
--name=vscode \
--env PUID=1000 \
--env PGID=1000 \
--publish 8443:8443 \
--env PASSWORD=sadaqah! \
--restart unless-stopped \
--env TZ=Asia/Kuala_Lumpur \
--env SUDO_PASSWORD=sadaqah! \
--volume "$HOME/chorke/academia/java/base_wss/core_ws:/config" \
hub.chorke.org/linuxserver/code-server:arm32v7-version-v3.8.0