Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在不知道 Seccomp 配置文件的情况下获取正在运行的容器的可用系统调用列表。我怎样才能实现它?
docker inspect应该转储SecurityOpt用于运行容器的(s)。由于 seccomp 配置文件是通过security-opt命令行参数应用的,因此应该在启动容器时提供的任何参数中列出活动配置文件。
docker inspect
SecurityOpt
security-opt
根据配置文件名称,您可以将其转换为应用的实际系统调用白名单/黑名单。