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;








-1















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.










share|improve this question




























    -1















    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.










    share|improve this question
























      -1












      -1








      -1








      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.










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 6 at 18:21









      TimTim

      28.5k79269491




      28.5k79269491




















          1 Answer
          1






          active

          oldest

          votes


















          2














          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.






          share|improve this answer

























          • 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











          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
          );



          );













          draft saved

          draft discarded


















          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









          2














          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.






          share|improve this answer

























          • 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















          2














          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.






          share|improve this answer

























          • 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













          2












          2








          2







          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.






          share|improve this answer















          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          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

















          • 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

















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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

          Popular posts from this blog

          Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

          What is this called? Old film camera viewer?What makes a good film camera?What to do with an old film camera?What should one look for when buying a used film camera?What is the value and age of this pre-1967 Ricoh 35 mm camera?DSLR recommendation, question about old Canon 35mm film Camera & lensesCan anyone identify the silver rangefinder-style camera in this advertisement?What kind of a Polaroid 600-camera is this?Will an old film camera still work even when not used in a very long time?What is this camera / Can I develop the film?How to fit an action camera into antique (bellows) housing?What to check when buying used and old film bodies?

          Why is this plane circling around the Lucknow airport every day?Why do aircraft on Flight Radar 24 jump around randomly sometimes?What airport has this walkway over a taxiway?How does Chicago O'Hare's tower sequence aircraft at peak capacity?Which airport is featured in this Delta commercial?After a crash, for how long is the airport closed?Can a passenger plane stand still in the air, or hover at a fixed location above a ground?What are those trucks towing around, and why?What is this airport outside of Cairo, Egypt?Which US airport has the lowest circling MDH?What is this airport video?