Docker Error: unable to prepare context: unable to evaluate symlinks in Dockerfile path
build context の場所に Dockerfile が存在していないときにこの error が出る。
たとえば以下のようにしたときに、 current directory が Dockerfile のある場所じゃない。
code:sh
docker build -t myimage .
以下のように Dockerfile を指定するのもあり。
code:sh
docker build -t myimage -f ../Dockerfile .
ただの凡ミスだけど error の原因が分かりにくい。特に script 内で current directory をあまり意識していない場合など。
#Docker