Skip to content

Instantly share code, notes, and snippets.

@appleshan
Created November 24, 2025 15:55
Show Gist options
  • Select an option

  • Save appleshan/507e97c0532463de61408da89fea9d0a to your computer and use it in GitHub Desktop.

Select an option

Save appleshan/507e97c0532463de61408da89fea9d0a to your computer and use it in GitHub Desktop.
podman 部署 v2raya
# @See https://github.com/v2rayA/v2rayA/blob/main/README_zh.md
podman pull docker.io/mzz2017/v2raya
mkdir -p ~/.config/v2raya
podman create -it \
--name v2raya \
--restart=always \
--label io.containers.autoupdate=registry \
--cgroup-parent=v2raya.slice \
--security-opt no-new-privileges \
--cap-drop all \
--network host \
--memory=500M \
--volume ~/.config/v2raya:/etc/v2raya:z \
proxy.vvvv.ee/mzz2017/v2raya
# 省略寻找 proxy.vvvv.ee 的一万字
bash -c \
"mkdir -p ~/.config/systemd/user \
&& cd ~/.config/systemd/user \
&& podman generate systemd --new --files --name v2raya \
&& systemctl --user daemon-reload"
systemctl --user enable --now podman-auto-update.timer
systemctl --user status container-v2raya.service
systemctl --user enable --now container-v2raya.service
# 然后 访问 http://localhost:2017/ ,导入节点服务器,连接,启动
# Chrome 配置 ZeroOmega,
# 最后,开始全世界冲浪
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment