4 ms·
>Image based (no more distribution templates, only good, trusted images) - the LXD website So instead of "lxc create -t ubuntu -n container1", I'll load a cont
by worklogin 11y ago
>Image based (no more distribution templates, only good, trusted images) - the LXD website
So instead of "lxc create -t ubuntu -n container1", I'll load a container from an image (just a monolithic template of sorts)?
- otoburb 11y agoIsn't that the same approach that Docker originally took with the Docker Hub Registry, where you can pull down pre-packaged monolithic images (albeit small ones if needed) via "docker pull ..."?[1] I think this was important quote from the article: "LXD is more like an “OS container” while Docker and rkt are more like “application containers.”" [1] https://docs.docker.com/userguide/dockerimages/ https://docs.docker.com/userguide/dockerimages/
- lukaslalinsky 11y agoYou can use pre-built images even with plain LXC: lxc-create -t download -n container1 -- -d ubuntu -r trusty -a amd64 LXD just takes it a little further, so on the UI level you are dealing just with images through the whole life-span of the container, not just when you are creating it. That makes it possible to wrap it all in a nice API and automatize the environment.