-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
-
Undefined
-
- "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
~~~