Sockd

基于 Dante socks5 (1.3.2/1.4.3) 的自动化部署镜像/脚本.

Docker 安装模式

优势

  • 基于 Alpine, 精简镜像.
  • 支持 Pam.user 认证, 不与系统用户关联
  • 支持 一行命令启动

安装使用说明

1. 使用 docker run
# sockd.passwd 是密码文件
docker run -d \
    --name sockd \
    --publish 2020:2020 \
    --volume sockd.passwd:/home/danted/conf/sockd.passwd \
    lozyme/sockd
2. 使用 docker-compose.yaml (定义用户密码文件路径 CONFIGFILE)

version: '3'
services:

  sockd:
    image: lozyme/sockd
    container_name: sockd
    restart: always
    ports:
      - 2020:2020
    volumes:
      - CONFIGFILE:/home/danted/conf/sockd.passwd
3. 启动
docker-compose up -d
4. 检

🔒 登录后查看全文

登录后即可查看完整内容