Error: Cannot find Containerfile or Docker File in Context Directory
When I was working on building an image from a Containerfile with Buildah, I got an Error: Cannot find Containerfile or Docker File in Context Directory. This is in reference to step 19.4.4 on Building an image from a Containerfile with Buildah.
I edited the Containerfile on Step 4 and replaced COMMIT command to CMD myecho.
Then I ran the following command
podman image build -f Containerfile -t myecho
I verified the buildah image in the repository and produced localhost/myecho as illustrated in the guide, for the verification step.
Just curious to see if any others have encountered similar errors.
Responses