You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a task which launches a container from an OCI image stored locally, rather than from a container registry. A prestart exec task transfers the image into alloc/tmp/katc.tar, and then the Podman task is configured like this:
Since the driver is just calling the Podman API, I'm assuming this is simply because Podman is interpreting the path as relative to its own working directory (which I'm guessing is just /, from the error).
As a user, I was expecting the driver to accept a path relative to the alloc or task directory, like most other Nomad tasks do. Is it possible for the driver to provide Podman with the absolute path on its own?
I'm using rootful Podman, if that matters.
The text was updated successfully, but these errors were encountered:
I have a task which launches a container from an OCI image stored locally, rather than from a container registry. A prestart
exec
task transfers the image intoalloc/tmp/katc.tar
, and then the Podman task is configured like this:The task driver returns the following error from Podman:
If I change the image path to use the alloc's absolute path on the Nomad client:
It then works.
Since the driver is just calling the Podman API, I'm assuming this is simply because Podman is interpreting the path as relative to its own working directory (which I'm guessing is just
/
, from the error).As a user, I was expecting the driver to accept a path relative to the alloc or task directory, like most other Nomad tasks do. Is it possible for the driver to provide Podman with the absolute path on its own?
I'm using rootful Podman, if that matters.
The text was updated successfully, but these errors were encountered: