-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: ostree images, pulling container larger than 0.9M
Container with size > 1G is failing and resulting no disk space on podman pull The fix creates a workaround for OStree images to properly use prepare.sh. Adds OStree image specific checkup to the prepare.sh and sets image_copy_tmp_dir="/var/tmp.dir", so the prepare_images section could be used also for OStree images. Resolve: #574 Signed-off-by: nsednev <[email protected]>
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Title: OStree images using podman pull to pull containers, larger than 1G. | ||
|
||
Description: | ||
The `container.conf` file needs to be modified to allow pulling images from the repository. | ||
|
||
Input: | ||
|
||
Update container image_copy_tmp_dir if the image is an OStree. | ||
1.Create /var/qm/tmp.dir or differently named directory on host. | ||
2.Create /etc/qm/containers/containers.conf.d or differently named directory on host. | ||
3.Create and edit /etc/qm/containers/containers.conf.d/qm_image_tmp_dir.conf or differently named *.conf file and add the following lines: | ||
[engine] | ||
image_copy_tmp_dir="/var/tmp.dir" | ||
|
||
By default image_copy_tmp_dir="/var/tmp". | ||
Changing its default value to /var/tmp.dir will allow the container to pull images larger than 1G. | ||
|
||
This is a work around and it should not be used constantly. | ||
|
||
Expected result: | ||
Containers on host will be able to pull images larger than 1G. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters