<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Virtualization &#8211; Manuel Bogner&#039;s Blog</title>
	<atom:link href="https://blog.mbo.dev/archives/category/linux/virt/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.mbo.dev</link>
	<description>Solutions to everyday IT problems</description>
	<lastBuildDate>Sun, 12 Dec 2021 15:25:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.mbo.dev/wp-content/uploads/2022/11/cropped-cropped-mbo-white_opt-32x32.png</url>
	<title>Virtualization &#8211; Manuel Bogner&#039;s Blog</title>
	<link>https://blog.mbo.dev</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>docker on mac without docker-desktop</title>
		<link>https://blog.mbo.dev/archives/1707</link>
		
		<dc:creator><![CDATA[Manuel Bogner]]></dc:creator>
		<pubDate>Sun, 12 Dec 2021 15:25:15 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">https://blog.coffeebeans.at/?p=1707</guid>

					<description><![CDATA[I just had a discussion where I was told that docker-desktop isn&#8217;t usable anymore because of their new licensing. So I had a look if docker-desktop is really required. In the end it is just a nicer integration with some desktop app to manage the background vm. I installed virtualbox and set up a vm [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>I just had a discussion where I was told that docker-desktop isn&#8217;t usable anymore because of their new licensing. So I had a look if docker-desktop is really required. In the end it is just a nicer integration with some desktop app to manage the background vm.</p>



<p>I installed virtualbox and set up a vm with shared host adapter for being able to easily access it via ip. On that ubuntu vm which I access from outside via SSH I installed docker as documented on the official docker documentation and gave my user proper rights to use docker. The vm has proper internet access and can run docker containers with ports mapped to the shared host adapter.</p>



<p>From my mac I installed docker via brew (not desktop) and added a context for the vm:</p>



<pre class="wp-block-code"><code>docker context create vm --description "local ubuntu vm" --docker "host=ssh://manuel@ubuntu"</code></pre>



<p>The &#8220;ubuntu&#8221; hostname was added to my /etc/hosts with the configured ip of the vm and manuel is my ssh user on the vm.</p>



<p>With the new context created the context list looks like this:</p>



<pre class="wp-block-code"><code>➜  ~ docker context ls
NAME                TYPE                DESCRIPTION                               DOCKER ENDPOINT                                KUBERNETES ENDPOINT   ORCHESTRATOR
default *           moby                Current DOCKER_HOST based configuration   unix:///var/run/docker.sock                                          swarm
desktop-linux       moby                                                          unix:///Users/manuel/.docker/run/docker.sock                         
vm                  moby                local ubuntu vm                           ssh://manuel@ubuntu</code></pre>



<p>After switching the context to `vm` I can easily work with docker running on the vm.</p>



<pre class="wp-block-code"><code>docker context use vm</code></pre>



<p>With the use of context I was able to come around docker-desktop completely. So the argument that docker isn&#8217;t usable anymore on a non linux machine is busted.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>clone and reset virtual machine for easy cloning</title>
		<link>https://blog.mbo.dev/archives/1351</link>
		
		<dc:creator><![CDATA[Manuel Bogner]]></dc:creator>
		<pubDate>Wed, 28 Apr 2021 17:22:20 +0000</pubDate>
				<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">https://blog.coffeebeans.at/?p=1351</guid>

					<description><![CDATA[I wrote a small script and posted it on github that helps cloning vms based on kvm qemu. Came quite handy if multiple clones of a golden image are required.]]></description>
										<content:encoded><![CDATA[
<p>I wrote a small script and posted it on <a rel="noreferrer noopener" href="https://github.com/mbogner/clonevm" target="_blank">github</a> that helps cloning vms based on kvm qemu. Came quite handy if multiple clones of a golden image are required.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Custom Ubuntu Starter / Menu Entry</title>
		<link>https://blog.mbo.dev/archives/1349</link>
		
		<dc:creator><![CDATA[Manuel Bogner]]></dc:creator>
		<pubDate>Wed, 28 Apr 2021 12:58:33 +0000</pubDate>
				<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">https://blog.coffeebeans.at/?p=1349</guid>

					<description><![CDATA[Sometimes I am installing software and would like to have a starter entry in the menu or the sidepanel but some programs don&#8217;t create one. But it&#8217;s quite easy to add a custom runner. Just create a file somewhere on your disk. I used my home directory (~) and Postman as an example app &#8211; [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Sometimes I am installing software and would like to have a starter entry in the menu or the sidepanel but some programs don&#8217;t create one. But it&#8217;s quite easy to add a custom runner.</p>



<p>Just create a file somewhere on your disk. I used my home directory (~) and Postman as an example app &#8211; here my ~/postman.desktop file:</p>



<pre class="wp-block-code"><code>&#91;Desktop Entry]
Name=Postman
Exec=/opt/Postman/Postman
Terminal=false
Type=Application
Icon=/opt/Postman/app/resources/app/assets/icon.png
StartupWMClass=Postman
Comment=collaboration platform for API development
Categories=Development;</code></pre>



<p>With this file in place you have to decide to install it for all users or for a single user only.</p>



<p>For all users run</p>



<pre class="wp-block-code"><code>sudo desktop-file-install ~/postman.desktop</code></pre>



<p>or for you active user run</p>



<pre class="wp-block-code"><code>desktop-file-install --dir=$HOME/.local/share/applications ~/postman.desktop</code></pre>



<p>After running one of those commands you will find the starter in the menu.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>remove qemu libvirt user from lightdm login screen</title>
		<link>https://blog.mbo.dev/archives/1135</link>
		
		<dc:creator><![CDATA[Manuel Bogner]]></dc:creator>
		<pubDate>Sun, 01 Dec 2019 14:01:41 +0000</pubDate>
				<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">http://blog.coffeebeans.at/?p=1135</guid>

					<description><![CDATA[After installing kvm on my enlightenment 5 system I had a login for qemu libvirt to choose in the login screen. To remove it I ran: On the next login the entry was gone.]]></description>
										<content:encoded><![CDATA[
<p>After installing kvm on my enlightenment 5 system I had a login for qemu libvirt to choose in the login screen. To remove it I ran:</p>



<pre class="wp-block-code"><code>printf "&#91;User]\nSystemAccount=true\n" | sudo tee /var/lib/AccountsService/users/libvirt-qemu
sudo systemctl restart accounts-daemon.service</code></pre>



<p>On the next login the entry was gone.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Install KVM on Ubuntu 14.04</title>
		<link>https://blog.mbo.dev/archives/923</link>
					<comments>https://blog.mbo.dev/archives/923#respond</comments>
		
		<dc:creator><![CDATA[Manuel Bogner]]></dc:creator>
		<pubDate>Mon, 16 Feb 2015 22:16:48 +0000</pubDate>
				<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">http://blog.coffeebeans.at/?p=923</guid>

					<description><![CDATA[First install needed packages: sudo apt-get install qemu-kvm libvirt-bin bridge-utils And configure a network bridge in /etc/network/interfaces. Here is my complete file: auto lo iface lo inet loopback allow-hotplug eth0 auto eth0 iface eth0 inet manual auto br0 iface br0 inet dhcp bridge_ports eth0 bridge_stp on bridge_maxwait 0 bridge_fd 0]]></description>
										<content:encoded><![CDATA[<p>First install needed packages:</p>
<pre class="lang:sh decode:true">sudo apt-get install qemu-kvm libvirt-bin bridge-utils</pre>
<p>And configure a network bridge in /etc/network/interfaces. Here is my complete file:</p>
<pre class="lang:sh decode:true ">auto lo
iface lo inet loopback

allow-hotplug eth0
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet dhcp
        bridge_ports eth0
        bridge_stp on
        bridge_maxwait 0
        bridge_fd 0</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.mbo.dev/archives/923/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
