Skip to content

Commit

Permalink
Merge pull request BadApple9#32 from 0neday/patch-1
Browse files Browse the repository at this point in the history
add docker ipv6 support
  • Loading branch information
BadApple9 authored Aug 3, 2021
2 parents d301f97 + 19e0228 commit 7d90877
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ Jetbrains 全家桶教育许可,正规国内大学渠道,9.9 元,购买地

1、拉取 [Docker 镜像](https://hub.docker.com/r/badapple9/speedtest-x) `docker pull badapple9/speedtest-x`

2、运行容器 `docker run [-d] -p 9001:80 -it badapple9/speedtest-x`
2。add ipv6 for docker
编辑 /etc/docker/daemon.json ,加上以下内容。(如果没有这个文件直接创建。)
```
{
"ipv6": true,
"fixed-cidr-v6": "fd00::/80",
"experimental": true,
"ip6tables": true
}
```

3、运行容器 `docker run [-d] -p 9001:80 -it badapple9/speedtest-x`

> **-d**:以常驻进程模式启动
>
Expand Down

0 comments on commit 7d90877

Please sign in to comment.