Metarget / cloud-native-security-book

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

求助!!!各位大佬 'std::system_error' || what(): Operation not permitted

Gettingdone opened this issue · comments

跟着书本运行run_write脚本,出现错误
/cloud-native-security-book/code/0302-开发侧攻击/02-CVE-2018-15664/symlink_race# ./run_write.sh
FAILED -- HOST FILE UNCHANGED
Sending build context to Docker daemon 6.144kB
Step 1/11 : FROM opensuse/tumbleweed
---> 18bdeda18ff4
Step 2/11 : RUN zypper in -y gcc glibc-devel-static
---> Running in 9ad8949792d9
terminate called after throwing an instance of 'std::system_error'
what(): Operation not permitted
The command '/bin/sh -c zypper in -y gcc glibc-devel-static' returned a non-zero code: 139
Unable to find image 'cyphar/symlink_swap:latest' locally

迷糊一下午了,或者有hxd能能提示一下也行

@Gettingdone 你好,这个问题应该与tumbleweed镜像有关,见相关Github页面,我已经将代码仓库里的代码更新,你可以重新pull然后试一下。

好的,谢谢🙏