docker:部署轻量的代理客户端.md 505 B


title: Docker:部署轻量的代理客户端 tags: [] id: '2080' categories:

    • uncategorized

      date: 2022-11-13 13:31:26

      version: '3.3'
      services:
      socks5:
      ports:
          - '20170:20170'
      container_name: socks5
      restart: always
      volumes:
          - './config.json:/etc/xray/config.json'
      image: teddysun/xray:1.6.1
      
  • mkdir -p ~/socks5 && cd ~/socks5

  • nano docker-compose.yml

  • nano ./config.json

  • sudo docker-compose up -d