How can a docker container OS different be from host OS?How is Docker different from a virtual machine?How is Docker different from a virtual machine?How to list containers in DockerHow to get a Docker container's IP address from the host?How to remove old Docker containersHow to deal with persistent storage (e.g. databases) in DockerCopying files from Docker container to hostCopying files from host to Docker containerWhat is the difference between a Docker image and a container?How to copy Docker images from one host to another without using a repositoryFrom inside of a Docker container, how do I connect to the localhost of the machine?

What does the "3am" section means in manpages?

Have I saved too much for retirement so far?

Would it be legal for a US State to ban exports of a natural resource?

Is a naturally all "male" species possible?

Identify a stage play about a VR experience in which participants are encouraged to simulate performing horrific activities

What if somebody invests in my application?

Perfect riffle shuffles

Lightning Web Component - do I need to track changes for every single input field in a form

Simulating a probability of 1 of 2^N with less than N random bits

Reply ‘no position’ while the job posting is still there (‘HiWi’ position in Germany)

Can a malicious addon access internet history and such in chrome/firefox?

Can I rely on these GitHub repository files?

What will be the benefits of Brexit?

Installing PowerShell on 32-bit Kali OS fails

Invariance of results when scaling explanatory variables in logistic regression, is there a proof?

What (else) happened July 1st 1858 in London?

What is the opposite of 'gravitas'?

How to prevent YouTube from showing already watched videos?

What to do when my ideas aren't chosen, when I strongly disagree with the chosen solution?

Teaching indefinite integrals that require special-casing

Lifted its hind leg on or lifted its hind leg towards?

Adding empty element to declared container without declaring type of element

"lassen" in meaning "sich fassen"

Latex for-and in equation



How can a docker container OS different be from host OS?


How is Docker different from a virtual machine?How is Docker different from a virtual machine?How to list containers in DockerHow to get a Docker container's IP address from the host?How to remove old Docker containersHow to deal with persistent storage (e.g. databases) in DockerCopying files from Docker container to hostCopying files from host to Docker containerWhat is the difference between a Docker image and a container?How to copy Docker images from one host to another without using a repositoryFrom inside of a Docker container, how do I connect to the localhost of the machine?













0















As I can see from docker's architecture at multiple sources including this, one can see containers have same OS as host OS but different namespaces. But I'm running an image on my docker (mac) with Ubuntu OS. How is this architecturally possible?



And how is this not Virtualization?



Host:



sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.3
BuildVersion: 18D109


From container:



cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial









share|improve this question






















  • Possible duplicate of How is Docker different from a virtual machine?

    – Matt B.
    Mar 21 at 14:50






  • 1





    On a Mac a virtual machine is in fact involved.

    – David Maze
    Mar 21 at 15:05











  • @DavidMaze and for windows too?? Is docker made natively for linux only? Now I'm starting to get why it takes longer to start docker daemon on mac then linux. holy cow!!!

    – Sachin Verma
    Mar 21 at 15:42















0















As I can see from docker's architecture at multiple sources including this, one can see containers have same OS as host OS but different namespaces. But I'm running an image on my docker (mac) with Ubuntu OS. How is this architecturally possible?



And how is this not Virtualization?



Host:



sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.3
BuildVersion: 18D109


From container:



cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial









share|improve this question






















  • Possible duplicate of How is Docker different from a virtual machine?

    – Matt B.
    Mar 21 at 14:50






  • 1





    On a Mac a virtual machine is in fact involved.

    – David Maze
    Mar 21 at 15:05











  • @DavidMaze and for windows too?? Is docker made natively for linux only? Now I'm starting to get why it takes longer to start docker daemon on mac then linux. holy cow!!!

    – Sachin Verma
    Mar 21 at 15:42













0












0








0








As I can see from docker's architecture at multiple sources including this, one can see containers have same OS as host OS but different namespaces. But I'm running an image on my docker (mac) with Ubuntu OS. How is this architecturally possible?



And how is this not Virtualization?



Host:



sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.3
BuildVersion: 18D109


From container:



cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial









share|improve this question














As I can see from docker's architecture at multiple sources including this, one can see containers have same OS as host OS but different namespaces. But I'm running an image on my docker (mac) with Ubuntu OS. How is this architecturally possible?



And how is this not Virtualization?



Host:



sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.3
BuildVersion: 18D109


From container:



cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial






docker






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 21 at 14:45









Sachin VermaSachin Verma

1,63252556




1,63252556












  • Possible duplicate of How is Docker different from a virtual machine?

    – Matt B.
    Mar 21 at 14:50






  • 1





    On a Mac a virtual machine is in fact involved.

    – David Maze
    Mar 21 at 15:05











  • @DavidMaze and for windows too?? Is docker made natively for linux only? Now I'm starting to get why it takes longer to start docker daemon on mac then linux. holy cow!!!

    – Sachin Verma
    Mar 21 at 15:42

















  • Possible duplicate of How is Docker different from a virtual machine?

    – Matt B.
    Mar 21 at 14:50






  • 1





    On a Mac a virtual machine is in fact involved.

    – David Maze
    Mar 21 at 15:05











  • @DavidMaze and for windows too?? Is docker made natively for linux only? Now I'm starting to get why it takes longer to start docker daemon on mac then linux. holy cow!!!

    – Sachin Verma
    Mar 21 at 15:42
















Possible duplicate of How is Docker different from a virtual machine?

– Matt B.
Mar 21 at 14:50





Possible duplicate of How is Docker different from a virtual machine?

– Matt B.
Mar 21 at 14:50




1




1





On a Mac a virtual machine is in fact involved.

– David Maze
Mar 21 at 15:05





On a Mac a virtual machine is in fact involved.

– David Maze
Mar 21 at 15:05













@DavidMaze and for windows too?? Is docker made natively for linux only? Now I'm starting to get why it takes longer to start docker daemon on mac then linux. holy cow!!!

– Sachin Verma
Mar 21 at 15:42





@DavidMaze and for windows too?? Is docker made natively for linux only? Now I'm starting to get why it takes longer to start docker daemon on mac then linux. holy cow!!!

– Sachin Verma
Mar 21 at 15:42












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
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/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%2fstackoverflow.com%2fquestions%2f55283086%2fhow-can-a-docker-container-os-different-be-from-host-os%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • 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%2fstackoverflow.com%2fquestions%2f55283086%2fhow-can-a-docker-container-os-different-be-from-host-os%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







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript