1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-13 17:42:53 +08:00

245 Commits

Author SHA1 Message Date
Marcos Lilljedahl
54378862b3 Use docker 1.13 to allow overlay networks
- Print error if resizing fails
2016-11-13 01:11:45 -03:00
Marcos Lilljedahl
b37f2469c8 Change connection preferrence so it tries with WS first and fallsback to
polling
2016-11-13 01:11:03 -03:00
Jonathan Leibiusky (@xetorthio)
e8b38fe717 Add session close button 2016-11-12 18:58:30 -03:00
Marcos Lilljedahl
81f02e4a3a Add node_modules to gitignore 2016-11-12 11:29:11 -03:00
Jonathan Leibiusky (@xetorthio)
869842e10e rollback transports 2016-11-11 20:19:21 -03:00
Jonathan Leibiusky (@xetorthio)
1be40005e8 Increase session time 2016-11-11 20:18:47 -03:00
Jonathan Leibiusky (@xetorthio)
d05fe56fea Better session lock management 2016-11-11 20:10:19 -03:00
Jonathan Leibiusky (@xetorthio)
e49245dfe9 Increase session TTL to 4 hours 2016-11-11 09:17:01 -03:00
Jonathan Leibiusky (@xetorthio)
6d967441ac If instance doesn't exist don't try to connect to its terminal 2016-11-11 09:16:01 -03:00
Jonathan Leibiusky (@xetorthio)
b5e016e6f5 When there are no more clients, don't try to measure best viewport size 2016-11-10 16:23:54 -03:00
Jonathan Leibiusky (@xetorthio)
39f3da3a82 Add docker files 2016-11-10 15:30:40 -03:00
Jonathan Leibiusky (@xetorthio)
8e4981d24f Huge refactor to have everything working with socket.io
It fixes lots of bugs, can fallback to long polling, resize viewport of
terminals and share clients state of the session, so they all see the
same thing.
2016-11-10 10:42:08 -03:00
Marcos Lilljedahl
9b6991f130 Try to encode to UTF-8 or just discard characters
Fixes #10
2016-10-19 00:38:05 -03:00
Marcos Lilljedahl
73cdb5a38c Lock at small res 2016-10-14 14:02:22 -03:00
Marcos Lilljedahl
a56af3dc22 Refactor sessions and add locking to avoid concurrent requests to create
more instances
2016-10-14 12:54:25 -03:00
Marcos Lilljedahl
d19e8a0cd3 Add 1.13-dev boot2docker image 2016-10-13 13:33:13 -03:00
Marcos Lilljedahl
2e9637b181 Remove stdout if session creator throws an error 2016-10-12 22:46:36 -03:00
Marcos Lilljedahl
3dd5a8b5ef Set default resize options 2016-10-11 17:05:06 -03:00
Marcos Lilljedahl
50a08f265c Revert "Don't allocate a pseudo tty for shell attaches"
This reverts commit d87e288f6ffa15cf72d8b90567a5cf02e902bf7f.
2016-10-11 13:33:22 -03:00
Jonathan Leibiusky (@xetorthio)
d87e288f6f Don't allocate a pseudo tty for shell attaches 2016-10-11 13:25:33 -03:00
Jonathan Leibiusky (@xetorthio)
59844cb80c Create a pseudo tty to docker daemons 2016-10-11 13:03:30 -03:00
Marcos Lilljedahl
f06dd2a149 Add confirmation before closing the window
Fixes #11
2016-10-11 09:38:56 -03:00
Marcos Nils
c64e769e4c Add requirements 2016-10-10 20:45:22 -03:00
Marcos Nils
429a5f9014 Merge pull request #4 from alexellis/ulimit_experimental
Experimental ulimit implementation and README.md
2016-10-11 01:25:06 +02:00
Marcos Lilljedahl
672b85cfe3 Remove volumes when deleting instances
Fixes #1
2016-10-09 21:16:58 +02:00
Alex
7df6bacee5 Allow dind image to be overriden.
- improve readme - mention pre-pulling dind image.
- read env variable once in init() method
2016-10-09 19:49:34 +01:00
Alex
11749c4902 Provide DIND override through DIND_IMAGE env variable. Use pinned version of DIND by default instead of latest to prevent surprises. 2016-10-09 19:37:53 +02:00
Alex
f91af56a09 Ammend wording 2016-10-09 19:16:09 +02:00
Alex
bccfdb2ca5 Outline basic instructions 2016-10-09 19:12:35 +02:00
Alex
74e8502f3f - Fix .gitignore
- Note about bug with Docker driver
- Implement experimental pid ulimit of 150.
2016-10-09 18:58:32 +02:00
Marcos Lilljedahl
97f39ca375 Remove writer if websocket disconnects 2016-10-08 15:04:30 +02:00
Marcos Lilljedahl
b3e7dcae3b Make session replication 2016-10-08 14:26:25 +02:00
Jonathan Leibiusky (@xetorthio)
02d50073c5 Attach to the same terminal 2016-10-08 13:35:02 +02:00
Marcos Lilljedahl
7bbb284128 Fix max instance reach alert 2016-10-08 13:05:08 +02:00
Marcos Lilljedahl
bc64fc5c42 Add raised class 2016-10-08 12:29:23 +02:00
Marcos Lilljedahl
991594c35c Focus terminal when switching instances 2016-10-08 12:26:33 +02:00
Jonathan Leibiusky (@xetorthio)
1d550aaa46 Merge branch 'master' of github.com:franela/play-with-docker 2016-10-08 11:27:14 +02:00
Jonathan Leibiusky (@xetorthio)
4950f03404 Show when session has expired 2016-10-08 11:26:16 +02:00
Marcos Lilljedahl
b79850c50f Create overlay networks by default 2016-10-08 11:25:50 +02:00
Marcos Lilljedahl
a0ffe28be9 Show alert if more than 5 instances are created 2016-10-08 10:52:52 +02:00
Marcos Lilljedahl
62936fcfc9 Change attach URL 2016-10-08 10:32:40 +02:00
Jonathan Leibiusky (@xetorthio)
b6b849e2c6 Change import paths
Add session cleanup
2016-10-08 10:25:10 +02:00
Marcos Lilljedahl
0d693b344c Add ping handler and listen on tcp4 addresses 2016-10-08 03:26:22 +02:00
Jonathan Leibiusky (@xetorthio)
dde49d8700 Initial commit 2016-10-08 03:12:48 +02:00
Jonathan Leibiusky
f2ae4344fd Initial commit 2016-10-08 03:10:48 +02:00