查看“Docker v2fly”的源代码
←
Docker v2fly
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看和复制此页面的源代码。
=== 前置 === docker 安装 === 拉取镜像 === <syntaxhighlight lang="shell-session"> -bash-4.2# docker pull v2fly/v2fly-core:latest latest: Pulling from v2fly/v2fly-core 2408cc74d12b: Pull complete 4f4fb700ef54: Pull complete c6b373c46cb7: Pull complete b0ec1e70028e: Pull complete Digest: sha256:e81a0735f724b06d795aa37f19e3e02e3dfcfeb12246e62e536f7de1b12de78c Status: Downloaded newer image for v2fly/v2fly-core:latest docker.io/v2fly/v2fly-core:latest -bash-4.2# </syntaxhighlight> === 启动容器 === <syntaxhighlight lang="shell-session"> -bash-4.2# docker run -d --network=host docker.io/v2fly/v2fly-core:latest f6cde85f14d02da7838b0ba0f2be23a673015fc674106cd6dece94eff41d777c -bash-4.2# </syntaxhighlight> === TLS === ==== 安装 acme.sh ==== ===== 前置 ===== # [[Curl#%E5%AE%89%E8%A3%85|安装 curl]] # 安装 socat<syntaxhighlight lang="shell-session"> ~ # apk add socat (1/4) Installing ncurses-terminfo-base (6.3_p20220521-r0) (2/4) Installing ncurses-libs (6.3_p20220521-r0) (3/4) Installing readline (8.1.2-r0) (4/4) Installing socat (1.7.4.3-r0) Executing busybox-1.35.0-r13.trigger OK: 13 MiB in 25 packages ~ # </syntaxhighlight> =====正式安装===== <syntaxhighlight lang="shell-session"> ~ # curl https://get.acme.sh | sh -s email=haoqibaobaoji@gmail.com % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 937 0 937 0 0 3216 0 --:--:-- --:--:-- --:--:-- 3231 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 212k 100 212k 0 0 1919k 0 --:--:-- --:--:-- --:--:-- 1911k [Tue Aug 23 01:42:35 UTC 2022] Installing from online archive. [Tue Aug 23 01:42:35 UTC 2022] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz [Tue Aug 23 01:42:36 UTC 2022] Extracting master.tar.gz [Tue Aug 23 01:42:36 UTC 2022] It is recommended to install socat first. [Tue Aug 23 01:42:36 UTC 2022] We use socat for standalone server if you use standalone mode. [Tue Aug 23 01:42:36 UTC 2022] If you don't use standalone mode, just ignore this warning. [Tue Aug 23 01:42:36 UTC 2022] Installing to /root/.acme.sh [Tue Aug 23 01:42:36 UTC 2022] Installed to /root/.acme.sh/acme.sh [Tue Aug 23 01:42:36 UTC 2022] No profile is found, you will need to go into /root/.acme.sh to use acme.sh [Tue Aug 23 01:42:36 UTC 2022] Installing cron job [Tue Aug 23 01:42:36 UTC 2022] OK [Tue Aug 23 01:42:36 UTC 2022] Install success! ~ # </syntaxhighlight>
返回至
Docker v2fly
。
导航菜单
个人工具
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
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帮助
工具
链入页面
相关更改
特殊页面
页面信息