Skip to content

ocassio/go-socks5-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Pulls

Docker image usage

You can start Docker container with the following command (make sure to replace <USER> and <PASSWORD> placeholders with your own credentials).

docker run -d --name socks5-proxy -p 1080:1080 -e USER=<USER> -e PASSWORD=<PASSWORD> ocassio/go-socks5-proxy

Build

The following command will perform a build of a static binary for Linux. The result of this build can be used by a scratch Docker image. This reduces container size drastically.

CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o server .

Special thanks