3 ms·
How do you create an image for LXC? With docker, they have the docker.io service with all types of distros you can chose from.
by FreeHugs 7y ago
How do you create an image for LXC?
With docker, they have the docker.io service with all types of distros you can chose from.
- StreamBright 7y agoYou can use the following: lxc image import metadata.tar.gz rootfs.tar.gz --alias hello Not sure which part of the process are you referring to though.
- rlpb 7y agoThe project provides prebuilt images for all the common distros: https://us.images.linuxcontainers.org/ https://us.images.linuxcontainers.org/ Use them in one command. For example: lxc launch images:debian/sid/amd64 Ubuntu, which I believe is the most popular image base in Docker, ships official cloud images, and you can also use these in one command: lxc launch ubuntu:bionic
- FreeHugs 7y agoThat sounds dangerous: All images available on this server are generated using community supported, upstream LXC image templates And: Note that the images found on this image server are unofficial images. Whenever possible, you should try to use official images from your Linux distribution of choice
- rlpb 7y agoThat's no different from Docker's community images, is it? And as I pointed out, Ubuntu ships official images, which was demonstrated in my second command.
- FreeHugs 7y agoDon't know about Ubuntu because I use Debian. docker.io calls their Debian images "official" and says they are maintained by two Debian developers.
- deleted 7y ago[deleted]