File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ brew install docker-debug
2626** 下载二进制文件**
2727``` shell
2828# MacOS
29- curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0 /docker-debug-darwin-amd64
29+ curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.3 /docker-debug-darwin-amd64
3030
3131# Linux
32- curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0 /docker-debug-linux-amd64
32+ curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.3 /docker-debug-linux-amd64
3333
3434chmod +x ./docker-debug
3535sudo mv docker-debug /usr/local/bin/
3636
3737# Windows
38- curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.7.0 /docker-debug-windows-amd64.exe
38+ curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.7.3 /docker-debug-windows-amd64.exe
3939```
4040
4141或者到 [ release page] ( https://github.com/zeromake/docker-debug/releases/lastest ) 下载最新可执行文件并添加到 PATH。
@@ -64,7 +64,7 @@ docker-debug 使用 `nicolaka/netshoot` 作为默认镜像来运行额外容器
6464你可以通过命令行 ` flag(--image) ` 覆盖默认镜像,或者直接修改配置文件 ` ~/.docker-debug/config.toml ` 中的 ` image ` 。
6565``` toml
6666# 配置文件版本号
67- version = " 0.7.0 "
67+ version = " 0.7.3 "
6868# 目标容器文件系统挂载点
6969mount_dir = " /mnt/container"
7070# 默认镜像
@@ -78,6 +78,8 @@ config_default = "default"
7878[config ]
7979 # docker 默认连接配置
8080 [config .default ]
81+ # docker 客户端版本指定默认 1.40
82+ version = " 1.40"
8183 host = " unix:///var/run/docker.sock"
8284 # 是否为 tls
8385 tls = false
Original file line number Diff line number Diff line change @@ -27,16 +27,16 @@ brew install docker-debug
2727** download binary file**
2828``` shell
2929# MacOS
30- curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0 /docker-debug-darwin-amd64
30+ curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.3 /docker-debug-darwin-amd64
3131
3232# Linux
33- curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0 /docker-debug-linux-amd64
33+ curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.3 /docker-debug-linux-amd64
3434
3535chmod +x ./docker-debug
3636sudo mv docker-debug /usr/local/bin/
3737
3838# Windows
39- curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.7.0 /docker-debug-windows-amd64.exe
39+ curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.7.3 /docker-debug-windows-amd64.exe
4040```
4141
4242download the latest binary from the [ release page] ( https://github.com/zeromake/docker-debug/releases/lastest ) and add it to your PATH.
@@ -64,14 +64,15 @@ mv docker-debug /usr/local/bin
6464docker-debug uses nicolaka/netshoot as the default image to run debug container.
6565You can override the default image with cli flag, or even better, with config file ~ /.docker-debug/config.toml
6666``` toml
67- version = " 0.7.0 "
67+ version = " 0.7.3 "
6868image = " nicolaka/netshoot:latest"
6969mount_dir = " /mnt/container"
7070timeout = 10000000000
7171config_default = " default"
7272
7373[config ]
7474 [config .default ]
75+ version = " 1.40"
7576 host = " unix:///var/run/docker.sock"
7677 tls = false
7778 cert_dir = " "
You can’t perform that action at this time.
0 commit comments