Adding Podman Support to torchx #258
-
|
Hi all, I'm looking into what it would take to add podman support to torchx. This library seemed like it would be a good fit for a drop in replacement for the Docker client. I changed the code to use a podman client if it is present on the users system. However, when testing the changes I ran into errors with the file object that is created on this line. When I pass the resulting fileobj to the build function I get the following error: I tried changing the mode of the file that is being copied to to be Any suggestions on how to proceed would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
@umohnani8 @jwhonce PTAL |
Beta Was this translation helpful? Give feedback.
-
|
I didn't realize that the Podman REST api was compatible with the Docker REST api. I was able to solve my use case by manually setting |
Beta Was this translation helpful? Give feedback.
I didn't realize that the Podman REST api was compatible with the Docker REST api. I was able to solve my use case by manually setting
DOCKER_HOSTafter running$ podman system service -t 0 tcp://localhost:8889