Skip to content

docker_remote.image.load(file) local or remote path? #622

Answered by gabrieldemarmiesse
s-light asked this question in Q&A
Discussion options

You must be logged in to vote

I believe that docker load always use a local path and never a remote path. In general, you can never read files on the remote host (docker cp, docker build all use local paths). Containers can have access to the remote files of course with volumes, but that's not what you want.

I don't have any solution to read a remote path. Thats a docker issue, not a python-on-whales issue. You'd have the same problem when using "docker --host=... load" from the command line.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@s-light
Comment options

Answer selected by s-light
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants