It seems you can't change it. podman/pkg/domain/utils/scp.go at main ·
containers/podman (
podman invokes mktemp on the remote server and that's where it sends the
image.
Thinking of it, it's logical. You don't really want to keep a copy of the
image... /tmp is used for that purpose.
What's wrong is that it doesn't catch (or report) the error. You should
create an issue about that.
JB
-
On Thu, Jan 11, 2024 at 3:09 PM Jean-Baptiste Ciccolella <
jeanbaptiste.ciccolella(a)gmail.com> wrote:
I'm not 100% sure of this but scp doesn't create temporary
files during
file transfer.
I have no idea what podman does under the hood when you run your command
but it reminds me how rsync works.
It's not the best way to move an image to another server but why don't you
*podman
save*, *scp *the image then *podman load *on the remote server ?
JB
-
On Thu, Jan 11, 2024 at 2:06 PM Matthias Apitz <guru(a)unixarea.de> wrote:
> El día jueves, enero 11, 2024 a las 01:18:33 +0100, Jean-Baptiste
> Ciccolella escribió:
>
> > Is /tmp big enough to receive the image ?
> >
> > JB
>
> I was already digging into this: /tmp is not big enough and I was
> looking how to change the location to where sftp-server puts the data.
>
> matthias
>
> --
> Matthias Apitz, ✉ guru(a)unixarea.de,
http://www.unixarea.de/
> +49-176-38902045
> Public GnuPG key:
http://www.unixarea.de/key.pub
>
> I am not at war with Russia. Я не воюю с Россией.
> Ich bin nicht im Krieg mit Russland.
>