Linux Container (LXC) image without vmlinuxHow do I bind a ZFS pool to a LXC container?LXC container troubleshootingblock outgoing internet calls from inside a containerA Linux container can use an authorized_keys file outside my home directory, but ephemeral containers based on it can't. Why?lxc-create says container already existsSnapshot of a LXC containerHow to make a HDD device file /dev/sdxY available in lxc container?Ping to LXC containerWhere is the configuration file of a lxc container?
How is погода (weather) a count noun?
Young adult short story book with one story where a woman finds a walrus suit and becomes a walrus
How dangerous are my worn rims?
French license plates
How to level a picture frame hung on a single nail?
Airport Security - advanced check, 4th amendment breach
What is the difference between increasing volume and increasing gain?
What action is recommended if your accommodation refuses to let you leave without paying additional fees?
Generating numbers with cubes
Is the Basilisk Jaw a Slayer only drop?
Could the Queen overturn the UK Supreme Court ruling regarding prorogation of Parliament?
Present participles of the verb esse
Why do many websites hide input when entering a OTP
How to refresh wired service getRecord manually?
Is "weekend warrior" derogatory?
As an interviewer, how to conduct interviews with candidates you already know they will be rejected?
How is this situation not a checkmate?
Does the US Armed Forces refuse to recruit anyone with an IQ less than 83?
How to plausibly write a character with a hidden skills
Chain on singlespeed tight, pedals won't turn backwards very freely - is this an issue?
Using 4K Skyrim Textures when running 1920 x 1080 display resolution?
Is there an in-universe explanation of how Frodo's arrival in Valinor was recorded in the Red Book?
Does it require less energy to reach the Sun from Pluto's orbit than from Earth's orbit?
How do we know Nemesis is not a black hole (or neutron star)?
Linux Container (LXC) image without vmlinux
How do I bind a ZFS pool to a LXC container?LXC container troubleshootingblock outgoing internet calls from inside a containerA Linux container can use an authorized_keys file outside my home directory, but ephemeral containers based on it can't. Why?lxc-create says container already existsSnapshot of a LXC containerHow to make a HDD device file /dev/sdxY available in lxc container?Ping to LXC containerWhere is the configuration file of a lxc container?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Recently, I installed lxc
and created an Ubuntu LXC image.
Then, I did ls -a /
to see the directory listing of /
inside the image.
To my surprise, there is no vmlinux
or vmlinuz
often seen in normal Linux distros.
My question, therefore, is: How can a LXC image be booted up without a vmlinux/z?
boot lxc syslinux
add a comment
|
Recently, I installed lxc
and created an Ubuntu LXC image.
Then, I did ls -a /
to see the directory listing of /
inside the image.
To my surprise, there is no vmlinux
or vmlinuz
often seen in normal Linux distros.
My question, therefore, is: How can a LXC image be booted up without a vmlinux/z?
boot lxc syslinux
add a comment
|
Recently, I installed lxc
and created an Ubuntu LXC image.
Then, I did ls -a /
to see the directory listing of /
inside the image.
To my surprise, there is no vmlinux
or vmlinuz
often seen in normal Linux distros.
My question, therefore, is: How can a LXC image be booted up without a vmlinux/z?
boot lxc syslinux
Recently, I installed lxc
and created an Ubuntu LXC image.
Then, I did ls -a /
to see the directory listing of /
inside the image.
To my surprise, there is no vmlinux
or vmlinuz
often seen in normal Linux distros.
My question, therefore, is: How can a LXC image be booted up without a vmlinux/z?
boot lxc syslinux
boot lxc syslinux
edited Apr 16 at 9:37
Mr Shunz
2,6674 gold badges22 silver badges24 bronze badges
2,6674 gold badges22 silver badges24 bronze badges
asked Apr 16 at 8:03
user1010573user1010573
32 bronze badges
32 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
LXC are a bit different than "traditional" virtual machines.
Rather than emulating hardware they all use the same kernel (i.e. the kernel from your host).
From the lxc introduction page:
LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
and more specifically (emphasis mine):
LXC containers are often considered as something in the middle between a chroot and a full fledged virtual machine. The goal of LXC is to create an environment as close as possible to a standard Linux installation but without the need for a separate kernel.
add a comment
|
Containers are processes that run "in a bubble" with their own filesystem and network (among other things). They are not VMs. They use the kernel of their host (which is why they are much faster to start than a VM).
This is a very concise and exact answer. Thanks so much.
– user1010573
Apr 16 at 10:26
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134289%2flinux-container-lxc-image-without-vmlinux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
LXC are a bit different than "traditional" virtual machines.
Rather than emulating hardware they all use the same kernel (i.e. the kernel from your host).
From the lxc introduction page:
LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
and more specifically (emphasis mine):
LXC containers are often considered as something in the middle between a chroot and a full fledged virtual machine. The goal of LXC is to create an environment as close as possible to a standard Linux installation but without the need for a separate kernel.
add a comment
|
LXC are a bit different than "traditional" virtual machines.
Rather than emulating hardware they all use the same kernel (i.e. the kernel from your host).
From the lxc introduction page:
LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
and more specifically (emphasis mine):
LXC containers are often considered as something in the middle between a chroot and a full fledged virtual machine. The goal of LXC is to create an environment as close as possible to a standard Linux installation but without the need for a separate kernel.
add a comment
|
LXC are a bit different than "traditional" virtual machines.
Rather than emulating hardware they all use the same kernel (i.e. the kernel from your host).
From the lxc introduction page:
LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
and more specifically (emphasis mine):
LXC containers are often considered as something in the middle between a chroot and a full fledged virtual machine. The goal of LXC is to create an environment as close as possible to a standard Linux installation but without the need for a separate kernel.
LXC are a bit different than "traditional" virtual machines.
Rather than emulating hardware they all use the same kernel (i.e. the kernel from your host).
From the lxc introduction page:
LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
and more specifically (emphasis mine):
LXC containers are often considered as something in the middle between a chroot and a full fledged virtual machine. The goal of LXC is to create an environment as close as possible to a standard Linux installation but without the need for a separate kernel.
edited Apr 16 at 9:50
answered Apr 16 at 9:16
Mr ShunzMr Shunz
2,6674 gold badges22 silver badges24 bronze badges
2,6674 gold badges22 silver badges24 bronze badges
add a comment
|
add a comment
|
Containers are processes that run "in a bubble" with their own filesystem and network (among other things). They are not VMs. They use the kernel of their host (which is why they are much faster to start than a VM).
This is a very concise and exact answer. Thanks so much.
– user1010573
Apr 16 at 10:26
add a comment
|
Containers are processes that run "in a bubble" with their own filesystem and network (among other things). They are not VMs. They use the kernel of their host (which is why they are much faster to start than a VM).
This is a very concise and exact answer. Thanks so much.
– user1010573
Apr 16 at 10:26
add a comment
|
Containers are processes that run "in a bubble" with their own filesystem and network (among other things). They are not VMs. They use the kernel of their host (which is why they are much faster to start than a VM).
Containers are processes that run "in a bubble" with their own filesystem and network (among other things). They are not VMs. They use the kernel of their host (which is why they are much faster to start than a VM).
answered Apr 16 at 9:54
xenoidxenoid
2,5951 gold badge6 silver badges18 bronze badges
2,5951 gold badge6 silver badges18 bronze badges
This is a very concise and exact answer. Thanks so much.
– user1010573
Apr 16 at 10:26
add a comment
|
This is a very concise and exact answer. Thanks so much.
– user1010573
Apr 16 at 10:26
This is a very concise and exact answer. Thanks so much.
– user1010573
Apr 16 at 10:26
This is a very concise and exact answer. Thanks so much.
– user1010573
Apr 16 at 10:26
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134289%2flinux-container-lxc-image-without-vmlinux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown