仅出于测试目的,要执行什么操作才能使具有自定义代码的AWS批次中的Docker失败?
我尝试过:
CannotStartContainerError: API error (404): oci runtime error: container_linux.go:262: starting container process caused "exec: \"exit\": executable file not found in $PATH"
bash: exit: No such file or directory
答案 0 :(得分:0)
以空格分隔:sh -c 'exit 1'
Json:["sh","-c","exit 1"]