自学内容网 自学内容网

docker run集合

1. siomiz/softethervpn

docker run -d --name vpn \
-p 443:443 \
-p 5555:5555 \
-p 500:500/udp \
-p 1194:1194/udp \
-p 4500:4500/udp \
-p 1701:1701/udp \
#默认客户端账号
-e USERNAME=root \
#默认客户端密码
-e PASSWORD=123456789 \
#管理端密码
-e SPW=123456789 \
#
-e PSK=mysoft  \
--cap-add NET_ADMIN \
siomiz/softethervpn


#参考官网资料 https://hub.docker.com/r/softethervpn/vpnserver
version: '3'

services:
  softether:
    image: softethervpn/vpnserver:stable
    cap_add:
      - NET_ADMIN
    restart: always
    ports:
      - 53:53
      - 444:443
      - 992:992
      - 1194:1194/udp
      - 5555:5555
      - 500:500/udp
      - 4500:4500/udp
      - 1701:1701/udp
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
      - "/etc/timezone:/etc/timezone:ro"
      - "./softether_data:/mnt"
      - "./softether_log:/root/server_log"
      - "./softether_packetlog:/root/packet_log"
      - "./softether_securitylog:/root/security_log"

2. speedtest-x

docker run -d --name speedtest-x --restart always -p 9001:80 -it badapple9/speedtest-x

3. sameersbnBind dns

docker run --name dns -d --restart=always \
--publish 53:53/tcp \
--publish 53:53/udp \
--publish 24999:10000/tcp \
-v /etc/localtime:/etc/localtime \
-v /usr/hsb/03configs/dns/:/data \
--env='WEBMIN_INIT_SSL_ENABLED=false'  \
--env='ROOT_PASSWORD=123'  \
sameersbn/bind


原文地址:https://blog.csdn.net/pehao/article/details/143485895

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!