Buildah

buildah unshare:錯誤執行:“buildah-script.sh”:在 $PATH 中找不到執行檔

  • July 19, 2021

非常命令buildah unshare buildah-script.sh是 in man buildah,但是當我執行它時,我得到了,

❯ buildah unshare buildah-script.sh
ERRO exec: "buildah-script.sh": executable file not found in $PATH 
ERRO (unable to determine exit status)            
ERRO exit status 1

這是與,

buildah version 1.19.6 (image-spec 1.0.1-dev, runtime-spec 1.0.2-dev)

您可以通過在腳本前面加上前綴來解決這個問題./

buildah unshare ./buildah-script.sh

引用自:https://unix.stackexchange.com/questions/659053