Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-2610

[Doc] "Error: no context directory and no Containerfile specified" error occurs

    XMLWordPrintable

Details

    Description

      • "Error: no context directory and no Containerfile specified" error occurs when to follow the documentation[2]
      • The build context directory that has Dockerfile should be specified in the podman build command. To do so, dot(".") etc must be added to the end of the command like below:
        ~~~
        podman build -t my-new-container-image:latest .
        or
        podman build -t my-new-container-image:latest <your build context directory>
        ~~~

      [1] Error: no context directory and no Container file specified
      ~~~
      > podman build -t my-new-container-image:latest
      Error: no context directory and no Containerfile specified
      ~~~

      [2] Installing Debezium on OpenShift > 2.3. Deploying Debezium with AMQ Streams
      https://access.redhat.com/documentation/en-us/red_hat_integration/2020-q3/html-single/installing_debezium_on_openshift/index#installing-debezium-with-amq-streams-debezium
      ~~~
      podman build -t my-new-container-image:latest
      ~~~

      Attachments

        Activity

          People

            tcohen@redhat.com Tova Cohen
            rhn-support-tyamashi Tomonari Yamashita
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: