“Docker v2fly”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) (建立内容为“<syntaxhighlight lang="shell-session"> docker run -d -p 443:443 --network=host v2fly/v2fly-core </syntaxhighlight>”的新页面) |
Jihongchang(讨论 | 贡献) |
||
第1行: | 第1行: | ||
− | <syntaxhighlight lang="shell-session"> | + | 前置: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><syntaxhighlight lang="shell-session"> | ||
docker run -d -p 443:443 --network=host v2fly/v2fly-core | docker run -d -p 443:443 --network=host v2fly/v2fly-core | ||
</syntaxhighlight> | </syntaxhighlight> |
2022年8月23日 (二) 01:36的版本
前置:docker 安装
拉取镜像
-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#
启动容器
-bash-4.2# docker run -d --network=host docker.io/v2fly/v2fly-core:latest
f6cde85f14d02da7838b0ba0f2be23a673015fc674106cd6dece94eff41d777c
-bash-4.2#
docker run -d -p 443:443 --network=host v2fly/v2fly-core