Changing variables in qm containers.conf¶
The container.conf file needs to be modified to allow pulling images larger than 1G from the repository on OStree images.
Update container image_copy_tmp_dir if the image is an OStree¶
- Create /var/qm/tmp.dir or differently named directory on host.
- Create /etc/qm/containers/containers.conf.d or differently named directory on host.
- 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”
Sample code should look like this¶
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.