在process builder中运行docker命令时退出代码127

3b6akqbq  于 2021-06-27  发布在  Java
关注(0)|答案(0)|浏览(347)

当我尝试在processbuilder中运行基本docker命令时,退出代码总是127。根据文档,这意味着找不到该命令,但是当我在终端中运行它时,一切都正常运行。

processBuilder.command("bash", "-c", "docker run hello-world");

这行不通

$ docker run hello-world

但这会
我在linux mint 20上运行所有程序

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题