mirror of
https://github.com/containers/podman.git
synced 2025-07-25 17:20:20 +08:00

Fixes: https://github.com/containers/podman/issues/16354 Currently we check on the server side, which ends up generating a bad error message. $ podman --remote build foo/ ERRO[0000] While reading directory /home/dwalsh/go/src/github.com/containers/podman/foo: EOF Error: stat /var/tmp/libpod_builder1249622306/build/Dockerfile: no such file or directory With this change you will get ./bin/podman --remote build foo/ Error: Containerfile not specified and no Containerfile or Dockerfile found in context directory, /home/dwalsh/podman/foo Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>