The `podman build` without a dot or other context directory should be working as of Podman v1.6.2 and later.  Can you check your version please?  If it's the latest and greatest version, please spin up an issue against Buildah which handles the build work for Podman at:


On Sun, Dec 29, 2019 at 10:58 AM Robert P. J. Day <> wrote:

  "man podman-build" suggests that the context argument is optional:

       podman build [options] [context]
       podman image build [options] [context]


       If  no  context directory is specified, then Podman will assume
       the current working  directory  as  the  build  context,  which
       should contain the Containerfile.

but if i have a directory with nothing but a Containerfile, i get:

  $ podman build
  Error: no context directory specified, and no containerfile specified

OTOH, specifying context of current directory:

  $ podman build .
  STEP 1: FROM alpine:latest
  ... etc etc ...


Podman mailing list --
To unsubscribe send an email to