Install v2rayA

Install v2rayA

Downlaod image

  • The easiest way to download iamge is though:

    1
    docker pull mzz2017/v2raya
  • However, if you can not get access to Docker Hub, you have two solution:

  1. find an available mirror, for example, use:

    1
    sudo docker pull dockerpull.org/mzz2017/v2raya
  2. manually download the image, and load it:

    1
    docker load -i v2raya.tar

Run image

Using a iptables legacy backend and xray kernel:

1
2
3
4
5
6
7
8
9
10
11
12
sudo docker run -d 
--restart=always \
--privileged \
--network=host \
--name v2raya \
-e V2RAYA_LOG_FILE=/tmp/v2raya.log \
-e V2RAYA_NFTABLES_SUPPORT=off \
-e IPTABLES_MODE=legacy \
-v /lib/modules:/lib/modules:ro \
-v /etc/resolv.conf:/etc/resolv.conf \
-v /etc/v2raya:/etc/v2raya \
mzz2017/v2raya

You then can open localhost:2017 to use v2rayA in web-gui.

Check Status

1
sudo docker container stats v2raya

Reomve

1
2
sudo docker container stop v2raya
sudo docker container rm v2raya

Reference

https://v2raya.org/en/docs/prologue/installation/docker/


Install v2rayA
https://dyliu0312.github.io/blog.github.io/2024/12/01/Install-v2rayA/
Author
dyliu
Posted on
December 1, 2024
Licensed under