cancel
Showing results for 
Search instead for 
Did you mean: 
Tracy_Baker
Starfighter Starfighter
Starfighter
  • 581 Views

DO180 (v4.6) Chapter 4, Section 3 possible update?

In DO180 (v4.6), Chapter 4, Section 3 there is this Note -- that probably can be removed or, at least, updated to reflect what the man page says:

"Compress tarball image layers when pushing to a directory using the 'dir' transport. (default is same compression type, compressed or uncompressed, as source) Note: This flag can only be set when using the dir transport i.e --format=oci-dir or --format-docker-dir"

(I just noticed the typo in the man page: --format-docker-dir should be --format=docker-dir)

1.JPG

The note suggests that the compression can be used on its own - it cannot. Well, it can, but it doesn't make any difference.

As I'm the curious one, I tested it out. Whether --compress is used or not, the file size is the same because the --format option, with 'dir' transport, was not used:

3.JPG

When --format is used, the result is a much smaller footprint:

4.JPG

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.