[lxc-users] lxc publish - how to use "pigz" (parallel gzip) for compression?

Stéphane Graber stgraber at ubuntu.com
Fri Sep 21 07:28:27 UTC 2018


On Fri, Sep 21, 2018 at 09:22:46AM +0200, Tomasz Chmielewski wrote:
> On 2018-09-21 09:11, lxc-users at licomonch.net wrote:
> 
> > maybe not what you are looking for, but could work as workaround for the
> > moment:
> > mv /snap/core/4917/bin/gzip /snap/core/4917/bin/gzip_dist
> > ln -s /usr/bin/pigz /snap/core/4917/bin/gzip
> 
> Nope, it's snap, read-only:

mount -o bind /usr/bin/pigz /snap/core/4917/bin/gzip

That may work. But won't survive core snap update or reboots.

> # touch /snap/core/4917/bin/anything
> touch: cannot touch '/snap/core/4917/bin/anything': Read-only file system

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180921/a49df6f4/attachment.sig>


More information about the lxc-users mailing list