Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Systemd Container Problems

$
0
0
I used the command:
Code:

machinectl pull-tar https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz  ubuntuTest
Expecting to pull an image and have the OS Tree setup so that my next command would be
Code:

systemd-nspawn -M ubuntuTest
But I keep getting an error that I am running out of space. This is what it looks like:
Code:

tar: var/lib/dpkg/alternatives/telnet: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/awk: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/lzma: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/vtrgb: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/mt: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/jsondiff: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/newt-palette: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/www-browser: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/rename: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/vim: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/vi: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/locate: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/vimdiff: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/pico: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/ftp: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/pager: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/w: Cannot write: No space left on devicetar: var/lib/dpkg/alternatives/rview: Cannot write: No space left on device
I have a lot of space and this looks very similar to what is being described on github here:
https://github.com/systemd/systemd/issues/5859
From the link above this is what I think I am also experiencing:
Code:

Apparently, machinectl creates a filesystem which is too small andthen fails with a rather vague error message. My / filesystem has plenty of space free. I had to fiddle with qemu-img resize to resize /var/lib/machines.raw, btrfs filesystem resize to grow the file system and machinectl set-limit.
What can I do to install a systemd container?

Viewing all articles
Browse latest Browse all 4211

Trending Articles