bootc-dev / bootc-dev/bootc

bootc install --composefs-backend takes much more time than the default ostree backend

Open
#1,824 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
2.3k
Forks
230
Avg merge
3d 12h
Merged PRs (30d)
38

Description

Run the following bootc install to-disk command, (the container image is already pre-pulled to the host)
```
podman run -ti --rm --privileged --pid=host --security-opt label=type:unconfined_t \
-v /var/lib/containers:/var/lib/containers -v /dev:/dev -v /sys:/sys:ro \
quay.io/centos-bootc/centos-bootc:stream10 \
bootc install to-disk \
--generic-image \
--composefs-backend \
"$DEV"
```
with `--composefs-backend`, it took
real 1m47.659s
user 0m0.133s
sys 0m0.331s

without `--composefs-backend`, it took
real 8m41.792s
user 0m0.274s
sys 0m0.523s

I can see most of the time is spending on fetching the container image, I don't know why it has such a huge difference.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.