Does chroot need any special kernel support? The 2019 Stack Overflow Developer Survey Results Are InHow to perform chroot with Linux namespaces?Is chroot an example of application virtualization in Linux?Continuety of driver support in linux kernelWhat parts of the Linux kernel I do not need?What are the ways and risks of using linux namespaces as nonroot user?Why do people still use SFTP jails based on SSH chroot rather than namespace capabilities of Systemd?Could not find writable mount point for cgroup hierarchy 13 while trying to create cgroupDid the pivot_root() documentation anticipate the feature of mount namespaces?How to perform chroot with Linux namespaces?How do I check cgroup v2 is installed on my machine?What code prevents mount namespace loops? In a more complex case involving mount propagationHow do you use cgroups from within a network namespace
How was Skylab's orbit inclination chosen?
On the insanity of kings as an argument against Monarchy
What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?
Evaluating number of iteration with a certain map with While
How to manage monthly salary
What does "rabbited" mean/imply in this sentence?
Inversion Puzzle
Is there a name of the flying bionic bird?
Can't find the latex code for the ⍎ (down tack jot) symbol
Is domain driven design an anti-SQL pattern?
How to answer pointed "are you quitting" questioning when I don't want them to suspect
How to reverse every other sublist of a list?
Should I write numbers in words or as numerals when there are multiple next to each other?
Did USCIS resume its biometric service for UK visa?
"What time...?" or "At what time...?" - what is more grammatically correct?
Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?
Limit the amount of RAM Mathematica may access?
What function has this graph?
JSON.serialize: is it possible to suppress null values of a map?
Is flight data recorder erased after every flight?
What is this 4-propeller plane?
What is the best strategy for white in this position?
How to create dashed lines/arrows in Illustrator
Can we apply L'Hospital's rule where the derivative is not continuous?
Does chroot need any special kernel support?
The 2019 Stack Overflow Developer Survey Results Are InHow to perform chroot with Linux namespaces?Is chroot an example of application virtualization in Linux?Continuety of driver support in linux kernelWhat parts of the Linux kernel I do not need?What are the ways and risks of using linux namespaces as nonroot user?Why do people still use SFTP jails based on SSH chroot rather than namespace capabilities of Systemd?Could not find writable mount point for cgroup hierarchy 13 while trying to create cgroupDid the pivot_root() documentation anticipate the feature of mount namespaces?How to perform chroot with Linux namespaces?How do I check cgroup v2 is installed on my machine?What code prevents mount namespace loops? In a more complex case involving mount propagationHow do you use cgroups from within a network namespace
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
docker is said to be a steroid version of chroot.
Does chroot need any special kernel support, e.g. namespace, cgroup?
Does docker rely on chroot? I ask this because "Docker is not virtualisation: It (as you know) uses namespaces, chroot, cgroups, etc."
Thanks.
linux-kernel chroot cgroups namespace
add a comment |
docker is said to be a steroid version of chroot.
Does chroot need any special kernel support, e.g. namespace, cgroup?
Does docker rely on chroot? I ask this because "Docker is not virtualisation: It (as you know) uses namespaces, chroot, cgroups, etc."
Thanks.
linux-kernel chroot cgroups namespace
add a comment |
docker is said to be a steroid version of chroot.
Does chroot need any special kernel support, e.g. namespace, cgroup?
Does docker rely on chroot? I ask this because "Docker is not virtualisation: It (as you know) uses namespaces, chroot, cgroups, etc."
Thanks.
linux-kernel chroot cgroups namespace
docker is said to be a steroid version of chroot.
Does chroot need any special kernel support, e.g. namespace, cgroup?
Does docker rely on chroot? I ask this because "Docker is not virtualisation: It (as you know) uses namespaces, chroot, cgroups, etc."
Thanks.
linux-kernel chroot cgroups namespace
linux-kernel chroot cgroups namespace
asked Apr 6 at 18:21
TimTim
28.5k79269491
28.5k79269491
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
chroot is implemented by the kernel, separately from namespaces and cgroups. Mount namespaces and pivot_root can be used to provide the same functionality as chroot; see How to perform chroot with Linux namespaces?
Docker engine uses chroot.
Can chroot be similar to or replaced by some namespace?
– Tim
Apr 6 at 18:35
Yes, see the update.
– Stephen Kitt
Apr 6 at 19:06
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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/3.0/"u003ecc by-sa 3.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%2funix.stackexchange.com%2fquestions%2f510937%2fdoes-chroot-need-any-special-kernel-support%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
chroot is implemented by the kernel, separately from namespaces and cgroups. Mount namespaces and pivot_root can be used to provide the same functionality as chroot; see How to perform chroot with Linux namespaces?
Docker engine uses chroot.
Can chroot be similar to or replaced by some namespace?
– Tim
Apr 6 at 18:35
Yes, see the update.
– Stephen Kitt
Apr 6 at 19:06
add a comment |
chroot is implemented by the kernel, separately from namespaces and cgroups. Mount namespaces and pivot_root can be used to provide the same functionality as chroot; see How to perform chroot with Linux namespaces?
Docker engine uses chroot.
Can chroot be similar to or replaced by some namespace?
– Tim
Apr 6 at 18:35
Yes, see the update.
– Stephen Kitt
Apr 6 at 19:06
add a comment |
chroot is implemented by the kernel, separately from namespaces and cgroups. Mount namespaces and pivot_root can be used to provide the same functionality as chroot; see How to perform chroot with Linux namespaces?
Docker engine uses chroot.
chroot is implemented by the kernel, separately from namespaces and cgroups. Mount namespaces and pivot_root can be used to provide the same functionality as chroot; see How to perform chroot with Linux namespaces?
Docker engine uses chroot.
edited Apr 6 at 19:05
answered Apr 6 at 18:25
Stephen KittStephen Kitt
180k25413492
180k25413492
Can chroot be similar to or replaced by some namespace?
– Tim
Apr 6 at 18:35
Yes, see the update.
– Stephen Kitt
Apr 6 at 19:06
add a comment |
Can chroot be similar to or replaced by some namespace?
– Tim
Apr 6 at 18:35
Yes, see the update.
– Stephen Kitt
Apr 6 at 19:06
Can chroot be similar to or replaced by some namespace?
– Tim
Apr 6 at 18:35
Can chroot be similar to or replaced by some namespace?
– Tim
Apr 6 at 18:35
Yes, see the update.
– Stephen Kitt
Apr 6 at 19:06
Yes, see the update.
– Stephen Kitt
Apr 6 at 19:06
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f510937%2fdoes-chroot-need-any-special-kernel-support%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
-cgroups, chroot, linux-kernel, namespace