Sign inSign up

mbaisha/code-server

By mbaisha

Updated about 4 years ago

Image
0

126

mbaisha/code-server repository overview

from https://hub.docker.com/r/codercom/code-server

Add

  • nodejs v16.17.0
  • npm v8.15.0
  • yarn v1.22.19

Example usage:

# This will start a code-server container and expose it at http://127.0.0.1:8080.
# It will also mount your current directory into the container as `/home/coder/project`
# and forward your UID/GID so that all file system operations occur as your user outside
# the container.
#
# Your $HOME/.config is mounted at $HOME/.config within the container to ensure you can
# easily access/modify your code-server config in $HOME/.config/code-server/config.json
# outside the container.
mkdir -p ~/.config
docker run -it --name code-server -p 8080:8080 \
  -v "$HOME/.config:/home/coder/.config" \
  -v "$PWD:/home/coder/project" \
  -u "$(id -u):$(id -g)" \
  -e "DOCKER_USER=$USER" \
  -e PASSWORD=2022 \
  --privileged \
  mbaisha/code-server:latest

We use the following open source dependencies in this image:

Tag summary

Content type

Image

Digest

sha256:5dee28731

Size

513 MB

Last updated

about 4 years ago

docker pull mbaisha/code-server