All Projects → hangyan → Docker Ws Client

hangyan / Docker Ws Client

Licence: gpl-3.0
docker websocket client for remote attch

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Docker Ws Client

Python Slack Sdk
Slack Developer Kit for Python
Stars: ✭ 3,307 (+36644.44%)
Mutual labels:  websocket-client
Pawl
Asynchronous WebSocket client
Stars: ✭ 448 (+4877.78%)
Mutual labels:  websocket-client
Gun
HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP.
Stars: ✭ 710 (+7788.89%)
Mutual labels:  websocket-client
Websockets
Library for building WebSocket servers and clients in Python
Stars: ✭ 3,724 (+41277.78%)
Mutual labels:  websocket-client
Java Slack Sdk
Slack Developer Kit (including Bolt for Java) for any JVM language
Stars: ✭ 393 (+4266.67%)
Mutual labels:  websocket-client
Weapp.socket.io
A WebSocket client for building WeChat Mini Program implement by socket.io
Stars: ✭ 517 (+5644.44%)
Mutual labels:  websocket-client
Ws
Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
Stars: ✭ 17,419 (+193444.44%)
Mutual labels:  websocket-client
Oatpp Websocket
oatpp-websocket submodule.
Stars: ✭ 26 (+188.89%)
Mutual labels:  websocket-client
Websocket
The Hoa\Websocket library.
Stars: ✭ 421 (+4577.78%)
Mutual labels:  websocket-client
Ulfius
Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services
Stars: ✭ 666 (+7300%)
Mutual labels:  websocket-client
Saea
SAEA.Socket is a high-performance IOCP framework TCP based on dotnet standard 2.0; Src contains its application test scenarios, such as websocket,rpc, redis driver, MVC WebAPI, lightweight message server, ultra large file transmission, etc. SAEA.Socket是一个高性能IOCP框架的 TCP,基于dotnet standard 2.0;Src中含有其应用测试场景,例如websocket、rpc、redis驱动、MVC WebAPI、轻量级消息服务器、超大文件传输等
Stars: ✭ 318 (+3433.33%)
Mutual labels:  websocket-client
Redux Requests
Declarative AJAX requests and automatic network state management for single-page applications
Stars: ✭ 330 (+3566.67%)
Mutual labels:  websocket-client
Autobahn Testsuite
Autobahn WebSocket protocol testsuite
Stars: ✭ 603 (+6600%)
Mutual labels:  websocket-client
Websockex
An Elixir Websocket Client
Stars: ✭ 305 (+3288.89%)
Mutual labels:  websocket-client
Starscream
Websockets in swift for iOS and OSX
Stars: ✭ 7,105 (+78844.44%)
Mutual labels:  websocket-client
Websocket Client
🔧 .NET/C# websocket client library
Stars: ✭ 297 (+3200%)
Mutual labels:  websocket-client
Websocket As Promised
A Promise-based API for WebSockets
Stars: ✭ 485 (+5288.89%)
Mutual labels:  websocket-client
Awesome Websockets
A curated list of Websocket libraries and resources.
Stars: ✭ 850 (+9344.44%)
Mutual labels:  websocket-client
Sylar
C++高性能分布式服务器框架,webserver,websocket server,自定义tcp_server(包含日志模块,配置模块,线程模块,协程模块,协程调度模块,io协程调度模块,hook模块,socket模块,bytearray序列化,http模块,TcpServer模块,Websocket模块,Https模块等, Smtp邮件模块, MySQL, SQLite3, ORM,Redis,Zookeeper)
Stars: ✭ 895 (+9844.44%)
Mutual labels:  websocket-client
Mist
A distributed, tag-based pub-sub service for modern web applications and container-driven cloud.
Stars: ✭ 634 (+6944.44%)
Mutual labels:  websocket-client

Docker Remote Attch Use Websocket

This is a simple example of docker remote attach use websocket protocol.

Install

go get github.com/hangyan/docker-ws-client

Usage

The first argument is the container id,and second is the command you want to execute in that container

Notes

  1. The server will write back the command you send ,then the result,the last line is the bash promt.
  2. The commands that has stream output may interfere with the later command's output,like top,ping,so you need to restart the container after you execute these commands.

Others

You can also use a web browser to act as a websocket client too,there is a chrome extension can do this : Simple Websocket Client

Notes:

  1. You shoud add linebreak after the command
  2. the example's (ls -al) output has some strange chars,they are the terminal's color control character.
  3. Don't use logs=1 ,or the output will be messed up.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].