docker pull codercom/code-server
mkdir /workspace
CODE=/workspace
mkdir -p $CODE/.config
docker run -d --name code-server -p 0.0.0.0:8080:8080 \
-v "$CODE/.config:/home/coder/.config" \
-v "$CODE:/home/coder/project" \
-u "$(id -u):$(id -g)" \
-e "DOCKER_USER=$USER" \
--restart=always \
codercom/code-server:latest