-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Mon, Jan 23, 2017 at 07:55:30PM -0500, Garrett Robinson wrote:
> On 01/23/2017 06:40 PM, Marek Marczykowski-Górecki wrote:
> > Try placing /var/lib/docker in /rw using bind-dirs[1]. Something like
> > this:
> >
> > $ cat /rw/config/qubes-bind-dirs.d/docker.conf
> > binds+=( '/var/lib/docker' )
> >
> > [1]
https://www.qubes-os.org/doc/bind-dirs/
> >
>
> Thanks for sharing bind-dirs, I hadn't come across that feature yet!
> However, do you think this would have different /performance/
> characteristics over just using a StandaloneVM (which I have tried, and
> which did not improve matters noticeably?)
There is one device-mapper layer less - but in case of StandaloneVM it's
dm-linear (so 1:1 mapping), so not a big difference.
I'm not sure what performance do you expect, but here is some really
naive container startup benchmark (with the above bind-dir):
$ time sudo docker run -i ubuntu:16.04 true
real 0m2.206s
user 0m0.065s
sys 0m0.055s
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJYhqiCAAoJENuP0xzK19csuacH/RJVo8PkuB70G6f4GUh4sEKh
kVmZeTVJMMJhznfkRxxCgJ3o9YM8DwJs0hwXJb46MkJPlxULJ3SPGraqQHj9Ek11
1ywI4wtANkSNZgb7mH6cohR011rH0llSxhqbVcpqqIXUHqkiapCd50V9FGuhJUpz
j8D4gX/iBSFPkSfQytmDVFdMT1z+8A9LBqKscjjllBg7gBcKvG8wTP8bmD40I0HJ
B8yNdM8OXOG9CyefUqJitBnhua3JIclx7zZNiChlb3uouZok+VmpDA1fQT7ALmpf
gOKtTK0G8JMgf5ge7lIkQYY1YhR0CFZ10klkAPP/6ijttZf8PrzmySIov6s1tAk=
=Mptg
-----END PGP SIGNATURE-----