docs.rancherdesktop.io icon indicating copy to clipboard operation
docs.rancherdesktop.io copied to clipboard

Update transfer-container-images.md

Open bordim79 opened this issue 1 year ago • 2 comments

Acording to docker load help, the option is a "-i" and not a "<"

Usage: docker load [OPTIONS] Load an image from a tar archive or STDIN Aliases: docker image load, docker load

Options: -i, --input string Read from tar archive file, instead of STDIN -q, --quiet Suppress the load output

bordim79 avatar Apr 05 '24 12:04 bordim79

Load an image from a tar archive or STDIN

As the help message says, it reads from STDIN when you don't specify the -I option, so the docs should be correct as-is. Does it not work for you?

That said, I think using STDIN is meant primarily for piping into docker load (e.g. when a tarball is compressed with a mechanism not supported directly by docker), and -I is clearer when you already have a filename, so I think we should still apply the change.

jandubois avatar Apr 05 '24 15:04 jandubois

Please update also the following locations to match:

docs/how-to-guides/transfer-container-images.md
versioned_docs/version-latest/how-to-guides/transfer-container-images.md

The older versions I would leave as-is.

jandubois avatar Apr 05 '24 15:04 jandubois