<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jw220519</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jw220519"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Jw220519"/>
	<updated>2026-05-05T19:08:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Running_Alpine_in_a_Docker_Container&amp;diff=21891</id>
		<title>Running Alpine in a Docker Container</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Running_Alpine_in_a_Docker_Container&amp;diff=21891"/>
		<updated>2022-05-20T02:23:24Z</updated>

		<summary type="html">&lt;p&gt;Jw220519: Update method for adding linux kernel.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some things you might want to know if you&#039;re running Alpine in a Docker container.&lt;br /&gt;
&lt;br /&gt;
== using mkinitfs ==&lt;br /&gt;
&lt;br /&gt;
By default mkinitfs will use the running kernel to build the initfs. Since your Docker container is under some other kernel you need to specify this manually.&lt;br /&gt;
&lt;br /&gt;
Alpine 3.11 and later:&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;apk add linux-lts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alpine 3.10 and earlier:&lt;br /&gt;
&amp;lt;code&amp;gt;apk add linux-vanilla&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cat /usr/share/kernel/vanilla/kernel.release&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkinitfs 4.19.41-0-vanilla&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkinitfs `cat /usr/share/kernel/vanilla/kernel.release`&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Docker]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
# [https://git.alpinelinux.org/aports/commit/?h=3.11-stable&amp;amp;id=eba4f554cc53325bb37f0cca97a5dfd024582271 Natanael Copa, &amp;quot;vanilla: remove linux-vanilla. replaced by linux-lts,&amp;quot; Alpine Linux aports repository, commit eba4f554, 12 Dec 2019, (https://git.alpinelinux.org/aports/commit/?h=3.11-stable&amp;amp;id=eba4f554cc53325bb37f0cca97a5dfd024582271 accessed 19 May 2022).]&lt;/div&gt;</summary>
		<author><name>Jw220519</name></author>
	</entry>
</feed>