Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arcticlampyrid/docker-warp-socks5
https://github.com/arcticlampyrid/docker-warp-socks5
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/arcticlampyrid/docker-warp-socks5
- Owner: ArcticLampyrid
- Created: 2023-05-01T18:41:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-15T05:16:53.000Z (3 months ago)
- Last Synced: 2024-08-15T06:30:02.592Z (3 months ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-warp-socks5
![Docker Pulls](https://img.shields.io/docker/pulls/qiqiworld/warp-socks5)```bash
docker run -d -p 40000:40000 qiqiworld/warp-socks5
```## Note
This image exposes just a SOCKS5 proxy, not a mixed proxy server.You **CANNOT** use this server as a HTTP/HTTPS proxy.
## Usage
### Python
First, install the requests library.```bash
pip install requests[socks]
```Then, you can access the proxy server with the following code.
```python
import requests
proxies = {
'http': 'socks5://127.0.0.1:40000/',
'https': 'socks5://127.0.0.1:40000/',
}
response = requests.get('https://www.cloudflare.com/cdn-cgi/trace', proxies=proxies)
print(response.text)
```