Sign inSign up

pocat/hysteria

By pocat

•Updated 9 days ago

Docker Image for Hysteria

Image
0

10K+

pocat/hysteria repository overview

Docker Image for Hysteria : https://github.com/HyNetwork/hysteria⁠

⁠Supported Architectures

i386 amd64 arm32v6 arm32v7 arm64v8 ppc64le s390x

⁠Usage explanations
  • Get this image
$ docker pull pocat/hysteria
  • Create a directory
$ mkdir -p /etc/hysteria
  • Modify the configuration
$ cat > /etc/hysteria/config.json <<EOF
{
  "listen": ":36712",
  "protocol": "faketcp",
  "acme": {
    "domains": [
      "your.domain.com"
    ],
    "email": "[email protected]"
  },
  "mmdb": "GeoLite2-Country.mmdb",
  "obfs": "8ZuA2Zpqhuk8yakXvMjDqEXBwY",
  "auth": {
    "mode": "passwords",
    "config": ["random_password"]
  }
}
EOF
  • Change System UDP-Buffer-Size
sysctl -w net.core.rmem_max=2500000
  • Start the service
$ docker run --network host --name hysteria -v /etc/hysteria:/etc/hysteria --restart=always -d pocat/hysteria

Tag summary

Content type

Image

Digest

sha256:b8a868dd6…

Size

16.2 MB

Last updated

9 days ago

docker pull pocat/hysteria