Metarget / cloud-native-security-book

《云原生安全:攻防实践与体系构建》资料仓库
719 stars 126 forks source link

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

Closed Gettingdone closed 2 years ago

Gettingdone commented 2 years ago

跟着书本运行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

Gettingdone commented 2 years ago

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

brant-ruan commented 2 years ago

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

Gettingdone commented 2 years ago

好的,谢谢🙏