File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Getip
2- It's a fast kestrel server to inform your public IP address
3-
4- ## Windows command line service
5- ``` bash
6- git clone https://github.com/jefersonsv/getip
7- dotnet run
8- ```
2+ It's a fast kestrel server to get your public IP address
93
104## Docker
115Images to run getip in docker container
126
7+ ### from docker hub
8+ ``` bash
9+ docker run -p 4020:5000 jefersonsv/getip
10+ ```
1311
1412### from local container
1513``` bash
@@ -19,17 +17,17 @@ sudo docker build -t getip .
1917sudo docker run --restart=unless-stopped -d -p 4020:5000 --name getip getip
2018```
2119
22- ### from docker hub
20+ ## How to test
2321``` bash
24- docker run -p 8081:5000 jefersonsv/getip
22+ curl ' http://localhost:4020 '
2523```
2624
27- ## How to test
25+ ## Run locally
2826``` bash
29- curl ' http://localhost:4020'
27+ git clone https://github.com/jefersonsv/getip
28+ dotnet run
3029```
3130
3231## Similar hosted services
3332* https://api.ipify.org
3433* http://checkip.dyndns.org
35-
You can’t perform that action at this time.
0 commit comments