Giter Club home page Giter Club logo

vscode's Introduction

vscode

基于Microsoft Code Server打包的Docker镜像,在原来的基础上增加了以下功能:

  • 中文支持
  • 基本编辑器
  • 安装Z Shell并做了以下增加
    • 安装Ohmyzsh
    • 安装各种插件
      • 自动提示
      • 代码高亮
    • 安装powerlevel10k主题
    • 安装各种字体
      • Jetbrains Mono
      • Powerline字体
  • 内置Docker
    • Docker in Docker
    • 外部Docker桥接

使用

使用方式非常简单,直接上代码

TAG="storezhang/vscode" && NAME="VSCode" && sudo docker pull ${TAG} && sudo docker stop ${NAME} ; sudo docker rm --force --volumes ${NAME} ; sudo docker run \
  --volume=你机器上数据目录:/config \
  --hostname=vscode \
  \
  \
  \
  --env=UID=用户编号所有容器里面的文件都会被设置成此用户 \
  --env=GID=组编号所有容器里面的文件都会被设置成此组 \
  \
  \
  \
  --env=PASSWORD=你想设置的密码 \
  --env=USER_PASSWORD=在控制台切换超级用户时的密码 \
  --env=DOMAIN=你的域名 \
  --env=WORKSPACE=/config/workspace \
  \
  \
  \
  --publish=想暴露的端口:8443 \
  --restart=always \
  --detach=true \
  --name=${NAME} \
  ${TAG}

vscode's People

Contributors

dependabot[bot] avatar storezhang avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.