pocat/sing-box

By pocat

Updated 4 days ago

Docker Image for sing-box

Image
1

10K+

pocat/sing-box repository overview

Docker Image for sing-box : https://github.com/SagerNet/sing-box

Supported Architectures

i386 amd64 arm32v6 arm32v7 arm64v8 ppc64le s390x

Usage explanations
  • Get this image
$ docker pull pocat/sing-box
  • Create a directory
$ mkdir -p /etc/sing-box /var/log/sing-box/
  • Modify the configuration
$ cat > /etc/sing-box/config.json <<EOF
{
  "log": {
    "disabled": false,
    "level": "info",
    "output": "/var/log/sing-box/sing-box.log",
    "timestamp": true
  },
  "inbounds": [
    {
      "type": "shadowsocks",
      "listen": "::",
      "listen_port": 8080,
      "method": "2022-blake3-aes-128-gcm",
      "password": "8JCsPssfgS8tiRwiMlhARg=="
    }
  ],
  "route": {
    "geoip": {
      "path": "geoip.db"
    },
    "geosite": {
      "path": "geosite.db"
    }
  }
}
EOF
  • Start the service
$ docker run --network host --name sing-box -v /etc/sing-box:/etc/sing-box -v /var/log/sing-box:/var/log/sing-box --restart=always -d pocat/sing-box

Tag summary

Content type

Image

Digest

sha256:9deecdc3e

Size

31.2 MB

Last updated

4 days ago

docker pull pocat/sing-box:v1.14.0-alpha.47