You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a VM vocker can't access the downloaded images because it tries to access it with the qemu user but the images are stored in the home directory of a user with the according permissions:
STDOUT:
[ 1.9] Downloading: http://libguestfs.org/download/builder/fedora-23.xz
[ 2.5] Planning how to build this image
[ 2.5] Uncompressing
[ 15.9] Converting raw to qcow2
[ 25.2] Opening the new disk
STDERR:
virt-builder: error: libguestfs error: could not create appliance through
libvirt.
Try running qemu directly without libvirt using this environment variable:
export LIBGUESTFS_BACKEND=direct
Original error from libvirt: Cannot access storage file
'/root/.cache/vocker/images/fedora-23.qcow2' (as uid:107, gid:107):
Permission denied [code=38 int1=13]
The text was updated successfully, but these errors were encountered:
When building a VM vocker can't access the downloaded images because it tries to access it with the qemu user but the images are stored in the home directory of a user with the according permissions:
RAN: '/bin/virt-builder --format=qcow2 -o /root/.cache/vocker/images/fedora-23.qcow2 fedora-23'
The text was updated successfully, but these errors were encountered: