Replies: 1 comment 1 reply
-
I am not aware why this is or if docker changed the behavior at some point. As work around you can simply specify the current working directory on the cli. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm moving the following line
$ docker build -f path/Dockerfile
to podman and they did not work as in docker.
In docker, the current directory where I started the docker command started is shared to the
build container so COPY seeing the current directory where I started docker build .....
In podman the directory in the build container is the directory of the Dockerfile.
This is a big difference --- is there a bug, or is there an option to fix this?
thx
meno
Beta Was this translation helpful? Give feedback.
All reactions