VSCode: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
<source lang="bash">
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
</source>
<source lang="bash">
mkdir -p $HOME/.chorke/docker/vscode/.config
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/docker/vscode/.config:/config" \
hub.chorke.org/linuxserver/code-server
</source>
==References==
==References==
* [https://marketplace.visualstudio.com/items?itemName=EQuimper.react-native-react-redux React-Native/React/Redux Snippets]
* [https://marketplace.visualstudio.com/items?itemName=EQuimper.react-native-react-redux React-Native/React/Redux Snippets]

Revision as of 05:43, 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/docker/vscode/.config
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/docker/vscode/.config:/config" \
hub.chorke.org/linuxserver/code-server

References