laincloud / entry Goto Github PK
View Code? Open in Web Editor NEWAttach to LAIN app container via `lain enter`
License: MIT License
Attach to LAIN app container via `lain enter`
License: MIT License
entry的客户端是python setup.py install 之后是有生成一个命令还是怎么调用?
运行两个同样的容器
docker run -itd --privileged -e "container=docker" -v /sys/fs/cgroup:/sys/fs/cgroup:ro centos:7.1.1503 /usr/sbin/init
使用websocket进行连接是否正常?getty进程占用的cpu是否为100%呢?
请教一个问题,我依照 https://juejin.im/entry/58532e0e1b69e60056c88b43 来实现一个简单的容器控制台页面,用来进入容器并执行操作。
在控制台中使用 vi
打开文件是没有问题的,但是使用 vim
打开文件的话webscoket连接会中断,请问这个问题在 entry
中有遇到吗,方便说下怎么来解决这个问题吗?我现在没有任何思路。
使用的依赖库:
github.com/gorilla/websocket
xterm.js
两个docker的client都尝试过:
github.com/fsouza/go-dockerclient
github.com/docker/docker
另外:https://juejin.im/entry/58532e0e1b69e60056c88b43 文章和 https://github.com/laincloud/entry 项目很好! :)
Under a
application repo, lain enter local web 1
entering axx
's container.
Proposal:
ws(s)://entry.domain/attach
.lain attach domain proc_name instance_no
will connect to this URL.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.