Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docker_notes:vm-container [2024-04-01 Mon wk14 11:28] – [KVM versus Proxmox] baumkp | docker_notes:vm-container [2025-09-20 Sat wk38 09:44] (current) – [Setup VM] baumkp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | {{tag> |
| ======Docker Host ====== | ======Docker Host ====== | ||
| =====KVM versus Proxmox===== | =====KVM versus Proxmox===== | ||
| - | I originally started using Linux KVM based VM, with QEMU and Libvirt on Ubuntu bare metal, circa 2014, this before was I was aware that Proxmox existed. | + | I originally started using Linux [[https:// |
| Interestingly as I understand it Proxmox uses Debian and Linux KVM VM, however they also provide a lot of additional functionally, | Interestingly as I understand it Proxmox uses Debian and Linux KVM VM, however they also provide a lot of additional functionally, | ||
| Line 10: | Line 10: | ||
| I may try Proxmox in the future, there is currently no compelling reason for me to do so at this time. | I may try Proxmox in the future, there is currently no compelling reason for me to do so at this time. | ||
| - | My current | + | As my old router became too unreliable to use circa November 2024, I have ordered a replacement. |
| - | My main home server is based upon an Intel Atom C3750 server, this is still currently adequately meeting my needs. I have upgraded with a 2.5Gb/s PCIe card. I have not been able to find a good replacement for this machine | + | My main home server is based upon an Intel Atom C3750 server, this is still currently adequately meeting my needs. I have upgraded with a 2.5Gb/s PCIe card. |
| Line 18: | Line 18: | ||
| I use Linux KVM with libvirt, virsh and qemu. | I use Linux KVM with libvirt, virsh and qemu. | ||
| * Install standard Debian files. See [[https:// | * Install standard Debian files. See [[https:// | ||
| - | * I simply do not need a GUI. Where convenient I may separately install a GUI that can be accessed via VNC. | + | * I simply do not normally |
| * Add user to libvirt and libvirt-qemu, | * Add user to libvirt and libvirt-qemu, | ||
| * If you are ssh' | * If you are ssh' | ||
| Line 28: | Line 28: | ||
| * Set static ip address and a bridge network (this varies on the install type) | * Set static ip address and a bridge network (this varies on the install type) | ||
| * For networkd: | * For networkd: | ||
| - | * '' | + | * '' |
| - | * ''/ | + | *The KVM virtual machine does not necessarily need a bridge network, but does usually need a static IP address |
| - | + | *Docker does not specifically require a HOST with bridge | |
| - | # The loopback network interface | + | * ''/ |
| + | ++++source / | ||
| + | <code bash interfaces> | ||
| auto lo | auto lo | ||
| iface lo inet loopback | iface lo inet loopback | ||
| Line 39: | Line 41: | ||
| #iface enp1s0 inet dhcp | #iface enp1s0 inet dhcp | ||
| - | auto br0 | + | auto enp1s0 |
| - | iface br0 inet static | + | iface enp1s0 |
| - | bridge_ports enp1s0 | + | |
| address 192.168.1.2/ | address 192.168.1.2/ | ||
| gateway 192.168.1.1 | gateway 192.168.1.1 | ||
| - | # | + | |
| - | bridge_stp off # | + | ++++ |
| - | + | ||
| + | Note that Docker does not need to operate on a machine with bridge network, which affords some benefits with operating a KVM. | ||
| ====Reference==== | ====Reference==== | ||
| *[[https:// | *[[https:// | ||
| + | |||
| + | A list of self hosted applications: | ||
| + | *[[https:// | ||
| <- docker_notes: | <- docker_notes: | ||