{"id":2852,"date":"2022-05-11T01:54:00","date_gmt":"2022-05-11T01:54:00","guid":{"rendered":"https:\/\/dft.wiki\/?p=2852"},"modified":"2025-02-03T20:53:58","modified_gmt":"2025-02-04T01:53:58","slug":"managing-containers-with-lxd-cheat-sheet","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=2852","title":{"rendered":"Managing Containers with LXD &#8211; Cheat Sheet"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Linux Containers (LXC) are managed by LXD as if they were Virtual Machines, allowing them to take\u00a0<\/span><strong><span data-preserver-spaces=\"true\">snapshots<\/span><\/strong><span data-preserver-spaces=\"true\">, have\u00a0<\/span><strong><span data-preserver-spaces=\"true\">distinct IPs<\/span><\/strong><span data-preserver-spaces=\"true\">, and the content\u00a0<\/span><strong><span data-preserver-spaces=\"true\">data is not lost when the container is shutdown<\/span><\/strong><span data-preserver-spaces=\"true\">.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Containers can be managed using profiles to define network and other configuration parameters such as limiting the maximum amount of CPU or RAM used by a single instance.<\/span><\/p>\n<p>It is worth mentioning that since Canonical took full control of the LXD project, the community created a fork called <strong>Incus<\/strong> [<a href=\"https:\/\/github.com\/lxc\/incus\">Link<\/a>]. This fork has removed many of Canonical&#8217;s ecosystem-specific components from the code. Incus is the adopted fork of the <strong>LinuxContainers.org<\/strong> [<a href=\"https:\/\/linuxcontainers.org\/incus\/\">Link<\/a>].<\/p>\n<p><span data-preserver-spaces=\"true\">Internally, the containers can communicate using\u00a0<\/span><strong><span data-preserver-spaces=\"true\">containerName.lxd<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0because there is a domain name service set up by default.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">LXD vs Docker<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">While LXD is a system container type that contains a whole operating system functionality, Docker is an application container type that usually only runs single applications and abstracts storage, network, logs&#8230; from the user.<\/span><\/p>\n<hr \/>\n<p><strong>INSTALLATION<\/strong><\/p>\n<p>The second command line (optional) enables the Web-UI.<\/p>\n<pre>sudo snap install lxd\r\nsudo snap set lxd ui.enable=true\r\nsudo systemctl reload snap.lxd.daemon.service\r\nsudo usermod -aG lxd yourUserName\r\nsudo lxd init<\/pre>\n<p><strong><span data-preserver-spaces=\"true\">Note:<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0it is not necessary but is recommended to add your user to the lxd group to allow manipulating the containers without using sudo every time. It might require logging out and back in again to apply to the new group.<\/span><\/p>\n<p><strong>WEB-UI SETUP<\/strong><\/p>\n<p>The Web-UI is only available from the version <strong>LXD 5.14<\/strong> or newer. Navigate to <strong>https:\/\/127.0.0.1:8443\/<\/strong> from the the local machine or add the network address if from a remote:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3863 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-01-1024x643.png\" alt=\"\" width=\"640\" height=\"402\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-01-1024x643.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-01-300x188.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-01-768x482.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-01.png 1353w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3862 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-05-1024x643.png\" alt=\"\" width=\"640\" height=\"402\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-05-1024x643.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-05-300x188.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-05-768x482.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-05.png 1353w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3861 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-36-1024x643.png\" alt=\"\" width=\"640\" height=\"402\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-36-1024x643.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-36-300x188.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-36-768x482.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-48-36.png 1353w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3860 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-49-28-1024x643.png\" alt=\"\" width=\"640\" height=\"402\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-49-28-1024x643.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-49-28-300x188.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-49-28-768x482.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-49-28.png 1353w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3859 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-05-1024x308.png\" alt=\"\" width=\"640\" height=\"193\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-05-1024x308.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-05-300x90.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-05-768x231.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-05.png 1353w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3858 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-35-1024x326.png\" alt=\"\" width=\"640\" height=\"204\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-35-1024x326.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-35-300x96.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-35-768x245.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-35.png 1353w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3857 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-45-1024x643.png\" alt=\"\" width=\"640\" height=\"402\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-45-1024x643.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-45-300x188.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-45-768x482.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-50-45.png 1353w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3856 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-53-1024x689.png\" alt=\"\" width=\"640\" height=\"431\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-53-1024x689.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-53-300x202.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-53-768x517.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-53.png 1192w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3855 size-large\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-59-1024x689.png\" alt=\"\" width=\"640\" height=\"431\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-59-1024x689.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-59-300x202.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-59-768x517.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2022\/05\/Screenshot-from-2024-01-04-12-53-59.png 1192w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Completed!<\/p>\n<hr \/>\n<p><strong>MOST POPULAR COMMANDS<\/strong><\/p>\n<ul>\n<li>lxc help\n<ul>\n<li>Shows the list of commands.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>remote list<\/strong>\n<ul>\n<li>Shows the list of remote repositories.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>image list ubuntu:<\/strong>\n<ul>\n<li>Lists the content of the officially supported images.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>image list images:<\/strong> ubuntu jellyfish\n<ul>\n<li>Searches for an image that contain the names ubuntu and jellyfish.<\/li>\n<\/ul>\n<\/li>\n<li>lxc image <strong>alias<\/strong> list images:\n<ul>\n<li>Lists the images in a more user-friendly format.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>launch<\/strong> ubuntu:22.04 u22lts\n<ul>\n<li>Launches (downloads if no local image exists and starts) with the given name u22lts.<\/li>\n<\/ul>\n<\/li>\n<li>lxc launch images:ubuntu\/20.04 u20lts <strong>-c limits.cpu=1 -c limits.memory=256MiB<\/strong>\n<ul>\n<li>Launches a container and sets configuration to the maximum allowed CPU and RAM usage.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>list<\/strong>\n<ul>\n<li>Lists the existent containers.<\/li>\n<\/ul>\n<\/li>\n<li>lxc list <strong>&#8211;columns &#8220;ns4S&#8221;<\/strong>\n<ul>\n<li>Lists the containers in a table with columns: name, status, IPv4, # of snapshots.\n<ul>\n<li>4 &#8211; IPv4 address<\/li>\n<li>6 &#8211; IPv6 address<\/li>\n<li>a &#8211; Architecture<\/li>\n<li>c &#8211; Creation date<\/li>\n<li>n &#8211; Name<\/li>\n<li>p &#8211; PID of the container&#8217;s init process<\/li>\n<li>P &#8211; Profiles<\/li>\n<li>s &#8211; State<\/li>\n<li>S &#8211; Number of snapshots<\/li>\n<li>t &#8211; Type (persistent or ephemeral)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>lxc list s<strong>ecurity.privileged=true<\/strong>\n<ul>\n<li>List those container filtering by a propriety.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>exec<\/strong> u22lts <strong>&#8212;<\/strong> <strong>apt update &amp;&amp; apt ugrade -y &amp;&amp; apt install nginx -y<\/strong>\n<ul>\n<li>Executes a command inside a container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>exec<\/strong> u22lts <strong>&#8211;env KEY=VALUE script.sh<\/strong>\n<ul>\n<li>Executes an application insite the container providing an environment variable.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>exec<\/strong> u22lts <strong>bash<\/strong>\n<ul>\n<li>Gets a Bash shell in the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>file edit<\/strong> u20lts\/<strong>etc\/passwd<\/strong>\n<ul>\n<li>Edits a file insite the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>stop<\/strong> u22lts\n<ul>\n<li>Stops the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>start<\/strong> u22lts\n<ul>\n<li>Start the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc<strong> restart &#8211;force<\/strong> u22lts\n<ul>\n<li>Restarts the container with forcing.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>snapshot<\/strong> u22lts snapshot01\n<ul>\n<li>Creates a snapshot of the container and gives it the name snapshot01.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>restore<\/strong> u22lts snapshot01\n<ul>\n<li>Restores a snapshot.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>delete<\/strong> u22lts\/snapshot01\n<ul>\n<li>Deletes a snapshot.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>config set<\/strong> u22lts<strong> boot.sutostart 1<\/strong>\n<ul>\n<li>Defines the configuration to auto start the container during the boot of the host.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>config set<\/strong> u22lts <strong>boot.sutostart.delay 60<\/strong>\n<ul>\n<li>Defines the amount of seconds after boot to start the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>config set<\/strong> u22lts <strong>boot.sutostart.order 3<\/strong>\n<ul>\n<li>Defines the order for auto starting the containers.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>config set<\/strong> u22lts <strong>limit.memory 1GB<\/strong>\n<ul>\n<li>Defines the maximum amount of RAM the container is allowed to use on the fly (without stopping the container).<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>config edit<\/strong> u22lts\n<ul>\n<li>Open an editor with the configuration file for the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>info<\/strong> u22lts\n<ul>\n<li>Gathers information about the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>config show &#8211;expanded<\/strong> u22lts\n<ul>\n<li>Shows the configuration applied to the container with expanded details.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>delete<\/strong> u22lts\n<ul>\n<li>Deletes the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>copy<\/strong> u22lts u22lts-copy\n<ul>\n<li>Copies (clones) the container and defines a name to the new one.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>copy u22lts\/snapshot01<\/strong> u22lts-from-snapshot01\n<ul>\n<li>Copies (clones) the container and defines a name to the new one.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>move<\/strong> u22lts u22lts-renamed\n<ul>\n<li>Renames a local container or moves the container to another host.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>move u22lts\/snapshot01<\/strong> u22lts\/snapshot01-renamed\n<ul>\n<li>Renames the snapshot of a local container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>file push<\/strong> fileName.zip u22lts\/<strong>root\/<\/strong>\n<ul>\n<li>Pushes a file fromt he host to the root of the file system the container.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>file pull<\/strong> u22lts\/<strong>root\/<\/strong>fileName.zip .\n<ul>\n<li>Pulls a file from the root of the containers file system to the host.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>file pull<\/strong> u20lts\/root\/etc\/hosts<strong> &#8211; | less<\/strong>\n<ul>\n<li>Pulls a file from the container and pipes into a consecutive command.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>profile list<\/strong>\n<ul>\n<li>Lists the existing profiles.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>profile default<\/strong>\n<ul>\n<li>Shows the configuration of the profile.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>delete &#8211;force<\/strong> u22lts\n<ul>\n<li>Forces the deletion of the container without stopping it.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>network list<\/strong>\n<ul>\n<li>Lists the network adapters of the host.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>network show<\/strong> lxdbr0\n<ul>\n<li>Shows details of the network interface.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>network create<\/strong> myNetworkName <strong>&#8211;type=physical<\/strong> <strong>parent=<\/strong>br0 <strong>&#8211;target=<\/strong>u22lts\n<ul>\n<li>Sets up a physical network to a container.<\/li>\n<li>Other types of network are: bridge, ovn, macvlan, and sriov.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>network set<\/strong> myNetworkName <strong>dns.nameservers=<\/strong>8.8.8.8\n<ul>\n<li>Configures the network to use a specific DNS server.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>network forward port add<\/strong> myNetworkName 192.168.1.2 tcp 80,8080-8088 10.1.1.2 80,8080-8088\n<ul>\n<li>Does port forwarding from an external IP and port to an internal IP and port.<\/li>\n<li>Suports TCP and UDP, with single port, lists or ports, or range of ports.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>storage list<\/strong>\n<ul>\n<li>Lists the storages.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>storage create<\/strong> myStorage<strong> btrfs<\/strong>\n<ul>\n<li>Creates a storage. The btrfs is recommended for running docker inside LXD. It is supports with best performance the layering that Docker requires.<\/li>\n<li>Other supported types: dir, ceph, cephfs, lvm, and zfs.<\/li>\n<\/ul>\n<\/li>\n<li>lxc\u00a0<strong>launch\u00a0<\/strong>images:ubuntu\/22.04\u00a0myContainer\n<ul>\n<li>Creates a container from Ubuntu 22.04 image to run Docker.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>storage volume create<\/strong> myStorage myVolume\n<ul>\n<li>Creates a volume inside the storage.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>storage volume list<\/strong> myStorage\n<ul>\n<li>List the volumes inside the storage pool.<\/li>\n<\/ul>\n<\/li>\n<li>lxc <strong>config set myContainer security.nesting=true security.syscalls.intercept.setxattr=true security.syscalls.intercept.mknod=true<\/strong>\n<ul>\n<li>Enabling the necessary configuration for running Docker. It requires the container do be restarted.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<p><strong>BONUS<\/strong><\/p>\n<p>Check out Bootable Containers, aka <strong>BootC<\/strong> [<a href=\"https:\/\/github.com\/containers\/bootc\">Link<\/a>]. Curiously, this new flavor of containers comes with a kernel and drivers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux Containers (LXC) are managed by LXD as if they were Virtual Machines, allowing them [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2852","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/2852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2852"}],"version-history":[{"count":13,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/2852\/revisions"}],"predecessor-version":[{"id":4670,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/2852\/revisions\/4670"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}