@@ -130,23 +130,14 @@ After you exec some commands, you will see the inputs and outputs under the
130130
131131### Real-time sharing
132132
133- ``` bash
134- docker run -dti --restart always --name container-web-tty \
135- -p 8080:8080 \
136- -e WEB_TTY_SHARE=true \
137- -v /var/run/docker.sock:/var/run/docker.sock \
138- wrfly/container-web-tty
139- ```
140-
141- By enabling this feature, you can share the container's inputs and outputs
142- with others via the share link (click the container's image to get the link).
133+ You can always share the container's inputs and outputs with others via the exec
134+ link, just share the ` /exec/<exec-ID> ` to them!
143135
144- #### Collaborate
136+ ### Collaborate
145137
146138``` bash
147139docker run -dti --restart always --name container-web-tty \
148140 -p 8080:8080 \
149- -e WEB_TTY_SHARE=true \
150141 -e WEB_TTY_COLLABORATE=true \
151142 -v /var/run/docker.sock:/var/run/docker.sock \
152143 wrfly/container-web-tty
@@ -155,7 +146,7 @@ docker run -dti --restart always --name container-web-tty \
155146By enabling this feature, once you exec into the container, you can share your
156147process with others, that means anyone got the shareable link would type the command
157148to the tty you are working on. You can edit the same file, type the same code, in the
158- same TTY! (P.S. Only the first exec process would be shared to others)
149+ same TTY! Just share the exec link to your friend!
159150
160151## Options
161152
@@ -172,8 +163,7 @@ GLOBAL OPTIONS:
172163 --docker-host value docker host path (default: "/var/run/docker.sock")
173164 --docker-ps value docker ps options
174165 --enable-audit, --audit enable audit the container outputs (default: false)
175- --enable-collaborate, --clb shared terminal can write to the same TTY (default: false)
176- --enable-share, --share enable share the container's terminal (default: false)
166+ --enable-collaborate, --clb collaborate on the same TTY process (default: false)
177167 --grpc-auth value grpc auth token (default: "password")
178168 --grpc-port value grpc server port, -1 for disable the grpc server (default: -1)
179169 --grpc-proxy value grpc proxy address, in the format of http://127.0.0.1:8080 or socks5://127.0.0.1:1080
0 commit comments