podman/cmd
Daniel J Walsh 332b47fefb
Check on client side for Containerfile, if none specified
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>
2023-05-08 13:58:37 -04:00
..
podman Check on client side for Containerfile, if none specified 2023-05-08 13:58:37 -04:00
podman-mac-helper podman-mac-helper: install: do not error if already installed 2023-03-24 15:34:30 +01:00
podman-wslkerninst Eliminate transient container deps from wslkerninst 2023-04-23 17:11:55 -05:00
quadlet Allow user quadlets to be stored under /etc 2023-05-04 10:06:41 -04:00
rootlessport Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00