i386 amd64 arm32v6 arm32v7 arm64v8 ppc64le s390x
$ docker pull pocat/xray
$ mkdir -p /etc/xray
$ cat > /etc/xray/config.json <<EOF
{
"inbounds": [{
"port": 9000,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "1eb6e917-774b-4a84-aff6-b058577c60a5",
"level": 1,
"alterId": 64
}
]
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
}]
}
EOF
$ docker run --network host --name xray -v /etc/xray:/etc/xray --restart=always -d pocat/xray
Content type
Image
Digest
sha256:bb785ef78…
Size
20.5 MB
Last updated
7 days ago
docker pull pocat/xray