Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

The breakdown of our creation

When we created the storage pool at the beginning of this section, what we were really doing was informing our system (the lxd daemon) that it needed to use a specific directory for container storage, namely the one below /var/lib/lxd/storage-pools/:

$ sudo ls /var/lib/lxd/storage-pools/example-poolcontainers

When we started our container, what we first did was download a prepackaged image from a default internet location that served as the base for the container we created. 

Here, it's seen as an alphanumeric string, but it's really Ubuntu 18.04 in cut-down-container form:

$ sudo ls -lhA /var/lib/lxd/images/total 175M-rw-r--r-- 1 root root 788 Nov 4 15:44 30b9f587eb6fb50566f4183240933496d7b787f719aafb4b58e6a341495a38ad ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content