Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kayuii/mdns-discovery
https://github.com/kayuii/mdns-discovery
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kayuii/mdns-discovery
- Owner: Kayuii
- License: apache-2.0
- Created: 2023-03-06T07:52:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T10:23:29.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T07:09:50.673Z (6 months ago)
- Language: Go
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mdns-discovery
service config
```
#!/bin/bash
ipaddr=$(ifconfig enp3s0 | grep 'inet ' | awk '{print $2}')
docker run --rm \
--net host \
--cap-drop ALL \
--read-only \
kayuii/mdnscli service \
--name service.x1 \
--service _own_work._tcp \
--host x1.service.own \
--port 8080 \
--ip $ipaddr
```client config
```
docker run --rm \
--net host \
--cap-drop ALL \
--read-only \
kayuii/mdnscli client --service _own_work._tcp
```