https://github.com/thetechnocrat-dev/docksock
testing python sockets in docker wrappers
https://github.com/thetechnocrat-dev/docksock
Last synced: about 2 months ago
JSON representation
testing python sockets in docker wrappers
- Host: GitHub
- URL: https://github.com/thetechnocrat-dev/docksock
- Owner: thetechnocrat-dev
- Created: 2023-01-28T14:57:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T22:26:22.000Z (over 2 years ago)
- Last Synced: 2025-02-15T07:31:14.904Z (4 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DockSock
Testing Python WebSocket isomorphic logging within Docker Containers```
docker build -t docksock-example .
python server.py# in a new tab
python client.py
```This example realtime streams server side logs (both inside and outside the Docker container) to the client.
Much help from from this [post](https://www.reddit.com/r/learnpython/comments/wrathb/streaming_stdoutin_realtimeto_a_client_from_a/)
