Metarget / cloud-native-security-book

《云原生安全:攻防实践与体系构建》资料仓库

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(勘误) 3.3.1 镜像漏洞利用 构建docker镜像命令错误

WAY29 opened this issue · comments

书中写的是

docker build --network=host -t alpine:cve-2019-5021

但实际上应该为

docker build --network=host -t alpine:cve-2019-5021 ./
commented

感谢指出!P.S. 回看了一下手稿,这条命令本来有一个.,后来可能在排版过程中漏掉了 :p