docker run集合

1. siomiz/softethervpn

bash 复制代码
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

bash 复制代码
docker run -d --name speedtest-x --restart always -p 9001:80 -it badapple9/speedtest-x

3. sameersbnBind dns

bash 复制代码
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
相关推荐
野熊佩骑2 分钟前
一文读懂Nginx 之 Ubuntu使用apt方式安装Nginx官方最新版本
linux·运维·服务器·nginx·ubuntu·http
眷蓝天13 分钟前
Kubernetes etcd 技术指南
容器·kubernetes·etcd
顶点多余23 分钟前
多路转接--select /poll
运维·服务器
梦梦代码精28 分钟前
深度拆解:上门按摩系统如何成为本地生活“到家时代”的新引擎?
docker·小程序·uni-app·开源·生活·开源软件
老毛肚33 分钟前
微服务网关整合授权中心实现单点登录
运维·微服务·架构
小梦爱安全37 分钟前
配置RIP动态路由协议
运维·网络
再战300年38 分钟前
通过docker实现mysql一主多从
mysql·docker·容器
墨着染霜华1 小时前
Windows 启动 Nginx 一闪而过、pid 丢失、logs 目录报错彻底解决
运维·windows·nginx
雪度娃娃1 小时前
Asio——socket的创建和连接
linux·运维·服务器·c++·网络协议
万里侯1 小时前
GitLab CI/CD流水线优化实战:从龟速到飞速的蜕变
微服务·容器·k8s