查看“Docker 安装 v2ray”的源代码
←
Docker 安装 v2ray
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看和复制此页面的源代码。
https://github.com/v2fly/docker === 拉取镜像 === <syntaxhighlight lang="shell-session"> [root@your-vps ~]# docker pull v2ray/official Using default tag: latest latest: Pulling from v2ray/official c9b1b535fdd9: Pull complete e988f487316f: Pull complete 9f14b9e76a1c: Pull complete ba8aa6f3f262: Pull complete 47a7d45748ed: Pull complete a1eaab65098b: Pull complete 95f134d2f540: Pull complete Digest: sha256:978c67f3dba2afb01b710620f8bc0392b36729facad466b90a49f3d7f30404be Status: Downloaded newer image for v2ray/official:latest docker.io/v2ray/official:latest </syntaxhighlight> === 在宿主机上准备配置文件 === /etc/v2fly/config.json<syntaxhighlight lang="console"> { "inbounds": [{ "port": 10086, // 服务器监听端口,必须和上面的一样 "protocol": "vmess", "settings": { "clients": [{ "id": "b831381d-6324-4d53-ad4f-8cda48b30811" }] } }], "outbounds": [{ "protocol": "freedom", "settings": {} }] } </syntaxhighlight>
返回至
Docker 安装 v2ray
。
导航菜单
个人工具
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
Spring Boot 2 零基础入门
Spring Cloud
Spring Boot
设计模式之禅
VUE
Vuex
Maven
算法
技能树
Wireshark
IntelliJ IDEA
ElasticSearch
VirtualBox
软考
正则表达式
程序员精讲
软件设计师精讲
初级程序员 历年真题
C
SQL
Java
FFmpeg
Redis
Kafka
MySQL
Spring
Docker
JMeter
Apache
Linux
Windows
Git
ZooKeeper
设计模式
Python
MyBatis
软件
数学
PHP
IntelliJ IDEA
CS基础知识
网络
项目
未分类
MediaWiki
镜像
问题
健身
国债
英语
烹饪
常见术语
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息