James has a pretty darn good guess. Could you share the output of the
"buildah info" command? Also, are you using an Ubuntu userspace on WSL?
Note there can be things you need to do to tune the WSL kernel, like this:
Though, I wouldn't expect cgroups to affect buildah, as it's using chroots
so I don't "think" the cgroups should matter.
On Wed, Jun 3, 2020 at 12:31 PM James Cassell <fedoraproject(a)cyberpear.com>
On Wed, Jun 3, 2020, at 2:24 AM, Dominic wrote:
> I've been using podman and buildah for a while on native Ubuntu
> and it's been great. With the release of WSL2 I'm trying to start
> building containers on Windows, but I'm running into some
> performance issues. Running something like: buildah copy
> $container . /srv in my project root takes maybe a second or two
> on native linux and minutes on my WSL2 system.
> Windows task manager doesn't show high resource utilization from
> any particular process during this time. Any ideas on how I can
> debug this?
My guess is it's not using overlay capable fs, but is instead using VFS.
Buildah mailing list -- buildah(a)lists.buildah.io
To unsubscribe send an email to buildah-leave(a)lists.buildah.io
Moving Wordpress, Mediawiki and Request Tracker into containers:
Product Management - Containers, Red Hat Enterprise Linux & OpenShift
Using Azure Pipelines with Red Hat Universal Base Image and Quay.io: