目录

Eclipse Che for remote ChromeOS development

Disclaimer

This is not an official Google product, this is just a way I found to get stuff done.

Prerequsites

Required

  • A server that can run docker

Recommended

  • A VPN connection to that server - see the opvnvpn image (TODO(Andrew) Add link)
  • A private IP address only visible on the server

Seting up the private IP address

  • Populate the IP address you want in 99-dev-server-ip.cfg, replacing 192.168.8.8 with your chosen IP address.
  • cp 99-dev-server-ip.cfg /etc/network/interfaces.d/99-dev-server-ip.cfg

Starting

Run

docker-compose run che start

Docker development in che

If you want to give your che workspaces the ability to run docker commands (say, for instance that you’re developing docker images) then add edit chedata/instance/config/che.properties, by replacing

che.docker.privileged=false

with

che.docker.privileged=true
machine.docker.privilege_mode=true
che.workspace.volume=/var/run/docker.sock:/var/run/docker.sock

The run

docker-compose run che restart

Upgrading to the newest version of Che

Edit docker-compose.yml to pick the version of Che you wish (alternatively you can just remove the version number and always use the latest).

Then run

docker pull eclipse/che
docker-compose run che upgrade
关于
33.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号