Why does a CentOS Docker container says it is Ubuntu?What is a docker container from Linux's point of view?When choosing a Docker container image file for my Ubuntu, what do I need to match between them?Cannot create “Hello World” module (and NVIDIA, and VirtualBox)How to get ondemand governor on fedoraDocker Container Volumes Synced LocallyMinimal install of CentOS 7 and ChromeCrontab in docker containerSeaFile docker container gives 502 Bad GatewayDocker container with Centos 7 and systemdHow to install OURLINK AC600 USB wireless adapter in kali linuxWhen choosing a Docker container image file for my Ubuntu, what do I need to match between them?Do `docker container rm` and `docker container kill` effectively achieve the same?
Are cabin dividers used to "hide" the flex of the airplane?
Re-submission of rejected manuscript without informing co-authors
Is Fable (1996) connected in any way to the Fable franchise from Lionhead Studios?
Eliminate empty elements from a list with a specific pattern
Shall I use personal or official e-mail account when registering to external websites for work purpose?
What are the advantages and disadvantages of running one shots compared to campaigns?
What do the Banks children have against barley water?
How to create a consistent feel for character names in a fantasy setting?
Is there a familial term for apples and pears?
How would photo IDs work for shapeshifters?
extract characters between two commas?
Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore
Denied boarding due to overcrowding, Sparpreis ticket. What are my rights?
Why is making salt water prohibited on Shabbat?
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
Does a dangling wire really electrocute me if I'm standing in water?
Finding files for which a command fails
Is it wise to focus on putting odd beats on left when playing double bass drums?
What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?
Why is my log file so massive? 22gb. I am running log backups
Add an angle to a sphere
Need help identifying/translating a plaque in Tangier, Morocco
Piano - What is the notation for a double stop where both notes in the double stop are different lengths?
I see my dog run
Why does a CentOS Docker container says it is Ubuntu?
What is a docker container from Linux's point of view?When choosing a Docker container image file for my Ubuntu, what do I need to match between them?Cannot create “Hello World” module (and NVIDIA, and VirtualBox)How to get ondemand governor on fedoraDocker Container Volumes Synced LocallyMinimal install of CentOS 7 and ChromeCrontab in docker containerSeaFile docker container gives 502 Bad GatewayDocker container with Centos 7 and systemdHow to install OURLINK AC600 USB wireless adapter in kali linuxWhen choosing a Docker container image file for my Ubuntu, what do I need to match between them?Do `docker container rm` and `docker container kill` effectively achieve the same?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to verify When choosing a Docker container image file for my Ubuntu, what do I need to match between them?
On Lubuntu, a CentOS container says it is CentOS, by
$ sudo docker run centos bash -c "cat /etc/*-release "
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
but also says it is the same Ubuntu as the host:
$ sudo docker run centos bash -c "cat /proc/version"
Linux version 4.15.0-46-generic (buildd@lgw01-amd64-038) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019
$ cat /proc/version
Linux version 4.15.0-46-generic (buildd@lgw01-amd64-038) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019
I wonder why the two commands differ in OS distribution and kernel version?
Does a container share the same kernel as its host? If yes, should their kernel versions be the same? When choosing a Docker container image file for my Ubuntu, what do I need to match between them? says "you don't need to match distributions or kernel versions."
kernel docker proc version
add a comment |
I am trying to verify When choosing a Docker container image file for my Ubuntu, what do I need to match between them?
On Lubuntu, a CentOS container says it is CentOS, by
$ sudo docker run centos bash -c "cat /etc/*-release "
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
but also says it is the same Ubuntu as the host:
$ sudo docker run centos bash -c "cat /proc/version"
Linux version 4.15.0-46-generic (buildd@lgw01-amd64-038) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019
$ cat /proc/version
Linux version 4.15.0-46-generic (buildd@lgw01-amd64-038) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019
I wonder why the two commands differ in OS distribution and kernel version?
Does a container share the same kernel as its host? If yes, should their kernel versions be the same? When choosing a Docker container image file for my Ubuntu, what do I need to match between them? says "you don't need to match distributions or kernel versions."
kernel docker proc version
2
So you’ve asked a question, been given an answer, which you’ve accepted, but you don’t believe it?
– Stephen Kitt
Apr 5 at 17:34
I want to verify if a container and its host must have the same version of kernel, since they are said to share the same Linux kernel. I am not sure how to understand his comment.
– Tim
Apr 5 at 17:46
1
Have you looked at the resources I suggested here? I think that would help you understand all this better.
– Stephen Kitt
Apr 5 at 18:24
2
"Does a container share the same kernel as its host? If yes, should their kernel versions be the same?" Don't you even read your own post?
– 炸鱼薯条德里克
2 days ago
add a comment |
I am trying to verify When choosing a Docker container image file for my Ubuntu, what do I need to match between them?
On Lubuntu, a CentOS container says it is CentOS, by
$ sudo docker run centos bash -c "cat /etc/*-release "
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
but also says it is the same Ubuntu as the host:
$ sudo docker run centos bash -c "cat /proc/version"
Linux version 4.15.0-46-generic (buildd@lgw01-amd64-038) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019
$ cat /proc/version
Linux version 4.15.0-46-generic (buildd@lgw01-amd64-038) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019
I wonder why the two commands differ in OS distribution and kernel version?
Does a container share the same kernel as its host? If yes, should their kernel versions be the same? When choosing a Docker container image file for my Ubuntu, what do I need to match between them? says "you don't need to match distributions or kernel versions."
kernel docker proc version
I am trying to verify When choosing a Docker container image file for my Ubuntu, what do I need to match between them?
On Lubuntu, a CentOS container says it is CentOS, by
$ sudo docker run centos bash -c "cat /etc/*-release "
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
but also says it is the same Ubuntu as the host:
$ sudo docker run centos bash -c "cat /proc/version"
Linux version 4.15.0-46-generic (buildd@lgw01-amd64-038) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019
$ cat /proc/version
Linux version 4.15.0-46-generic (buildd@lgw01-amd64-038) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019
I wonder why the two commands differ in OS distribution and kernel version?
Does a container share the same kernel as its host? If yes, should their kernel versions be the same? When choosing a Docker container image file for my Ubuntu, what do I need to match between them? says "you don't need to match distributions or kernel versions."
kernel docker proc version
kernel docker proc version
edited Apr 5 at 18:30
G-Man
13.7k93770
13.7k93770
asked Apr 5 at 16:37
TimTim
28.5k79269491
28.5k79269491
2
So you’ve asked a question, been given an answer, which you’ve accepted, but you don’t believe it?
– Stephen Kitt
Apr 5 at 17:34
I want to verify if a container and its host must have the same version of kernel, since they are said to share the same Linux kernel. I am not sure how to understand his comment.
– Tim
Apr 5 at 17:46
1
Have you looked at the resources I suggested here? I think that would help you understand all this better.
– Stephen Kitt
Apr 5 at 18:24
2
"Does a container share the same kernel as its host? If yes, should their kernel versions be the same?" Don't you even read your own post?
– 炸鱼薯条德里克
2 days ago
add a comment |
2
So you’ve asked a question, been given an answer, which you’ve accepted, but you don’t believe it?
– Stephen Kitt
Apr 5 at 17:34
I want to verify if a container and its host must have the same version of kernel, since they are said to share the same Linux kernel. I am not sure how to understand his comment.
– Tim
Apr 5 at 17:46
1
Have you looked at the resources I suggested here? I think that would help you understand all this better.
– Stephen Kitt
Apr 5 at 18:24
2
"Does a container share the same kernel as its host? If yes, should their kernel versions be the same?" Don't you even read your own post?
– 炸鱼薯条德里克
2 days ago
2
2
So you’ve asked a question, been given an answer, which you’ve accepted, but you don’t believe it?
– Stephen Kitt
Apr 5 at 17:34
So you’ve asked a question, been given an answer, which you’ve accepted, but you don’t believe it?
– Stephen Kitt
Apr 5 at 17:34
I want to verify if a container and its host must have the same version of kernel, since they are said to share the same Linux kernel. I am not sure how to understand his comment.
– Tim
Apr 5 at 17:46
I want to verify if a container and its host must have the same version of kernel, since they are said to share the same Linux kernel. I am not sure how to understand his comment.
– Tim
Apr 5 at 17:46
1
1
Have you looked at the resources I suggested here? I think that would help you understand all this better.
– Stephen Kitt
Apr 5 at 18:24
Have you looked at the resources I suggested here? I think that would help you understand all this better.
– Stephen Kitt
Apr 5 at 18:24
2
2
"Does a container share the same kernel as its host? If yes, should their kernel versions be the same?" Don't you even read your own post?
– 炸鱼薯条德里克
2 days ago
"Does a container share the same kernel as its host? If yes, should their kernel versions be the same?" Don't you even read your own post?
– 炸鱼薯条德里克
2 days ago
add a comment |
2 Answers
2
active
oldest
votes
cat /proc/version is showing kernel version. As containers run on the same kernel as the host. It is the same kernel as the host.
cat /etc/*-release is showing the distribution release. It is the OS version, minus the kernel.
A container is not virtualisation, in is an isolation system that runs directly on the Linux kernel. It uses the kernel name-spaces, and cgroups. Name-spaces allow separate networks, process ids, mount points, users, hostname, Inter-process-communication. cgroups allows limiting resources.
add a comment |
- I can't find in the provided output the CentOS Kernel info, only the version release (7.6.1810);
- Yes, the container shares the kernel of the host machine.
Update: Check this answer.
I don't understand the first point: It does not look like an answer, but I can't tell for sure, as it does not look like a sentence.
– ctrl-alt-delor
2 days ago
My (possibly incorrect) interpretation is that JucaPirama looked for a "differ(ence) in OS distribution and kernel version" and did not see any indication of a different kernel version in the /etc/release output.
– Jeff Schaller♦
2 days ago
English is not my mother language, so let me try again: I could not find in thecat /etc/*-releaseoutput nothing concerning Kernel Version (because it is not there). So, the question itself makes no sense.
– JucaPirama
9 hours ago
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%2f510756%2fwhy-does-a-centos-docker-container-says-it-is-ubuntu%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
cat /proc/version is showing kernel version. As containers run on the same kernel as the host. It is the same kernel as the host.
cat /etc/*-release is showing the distribution release. It is the OS version, minus the kernel.
A container is not virtualisation, in is an isolation system that runs directly on the Linux kernel. It uses the kernel name-spaces, and cgroups. Name-spaces allow separate networks, process ids, mount points, users, hostname, Inter-process-communication. cgroups allows limiting resources.
add a comment |
cat /proc/version is showing kernel version. As containers run on the same kernel as the host. It is the same kernel as the host.
cat /etc/*-release is showing the distribution release. It is the OS version, minus the kernel.
A container is not virtualisation, in is an isolation system that runs directly on the Linux kernel. It uses the kernel name-spaces, and cgroups. Name-spaces allow separate networks, process ids, mount points, users, hostname, Inter-process-communication. cgroups allows limiting resources.
add a comment |
cat /proc/version is showing kernel version. As containers run on the same kernel as the host. It is the same kernel as the host.
cat /etc/*-release is showing the distribution release. It is the OS version, minus the kernel.
A container is not virtualisation, in is an isolation system that runs directly on the Linux kernel. It uses the kernel name-spaces, and cgroups. Name-spaces allow separate networks, process ids, mount points, users, hostname, Inter-process-communication. cgroups allows limiting resources.
cat /proc/version is showing kernel version. As containers run on the same kernel as the host. It is the same kernel as the host.
cat /etc/*-release is showing the distribution release. It is the OS version, minus the kernel.
A container is not virtualisation, in is an isolation system that runs directly on the Linux kernel. It uses the kernel name-spaces, and cgroups. Name-spaces allow separate networks, process ids, mount points, users, hostname, Inter-process-communication. cgroups allows limiting resources.
edited Apr 5 at 19:27
answered Apr 5 at 19:20
ctrl-alt-delorctrl-alt-delor
12.4k52661
12.4k52661
add a comment |
add a comment |
- I can't find in the provided output the CentOS Kernel info, only the version release (7.6.1810);
- Yes, the container shares the kernel of the host machine.
Update: Check this answer.
I don't understand the first point: It does not look like an answer, but I can't tell for sure, as it does not look like a sentence.
– ctrl-alt-delor
2 days ago
My (possibly incorrect) interpretation is that JucaPirama looked for a "differ(ence) in OS distribution and kernel version" and did not see any indication of a different kernel version in the /etc/release output.
– Jeff Schaller♦
2 days ago
English is not my mother language, so let me try again: I could not find in thecat /etc/*-releaseoutput nothing concerning Kernel Version (because it is not there). So, the question itself makes no sense.
– JucaPirama
9 hours ago
add a comment |
- I can't find in the provided output the CentOS Kernel info, only the version release (7.6.1810);
- Yes, the container shares the kernel of the host machine.
Update: Check this answer.
I don't understand the first point: It does not look like an answer, but I can't tell for sure, as it does not look like a sentence.
– ctrl-alt-delor
2 days ago
My (possibly incorrect) interpretation is that JucaPirama looked for a "differ(ence) in OS distribution and kernel version" and did not see any indication of a different kernel version in the /etc/release output.
– Jeff Schaller♦
2 days ago
English is not my mother language, so let me try again: I could not find in thecat /etc/*-releaseoutput nothing concerning Kernel Version (because it is not there). So, the question itself makes no sense.
– JucaPirama
9 hours ago
add a comment |
- I can't find in the provided output the CentOS Kernel info, only the version release (7.6.1810);
- Yes, the container shares the kernel of the host machine.
Update: Check this answer.
- I can't find in the provided output the CentOS Kernel info, only the version release (7.6.1810);
- Yes, the container shares the kernel of the host machine.
Update: Check this answer.
edited Apr 5 at 17:14
answered Apr 5 at 16:57
JucaPiramaJucaPirama
20416
20416
I don't understand the first point: It does not look like an answer, but I can't tell for sure, as it does not look like a sentence.
– ctrl-alt-delor
2 days ago
My (possibly incorrect) interpretation is that JucaPirama looked for a "differ(ence) in OS distribution and kernel version" and did not see any indication of a different kernel version in the /etc/release output.
– Jeff Schaller♦
2 days ago
English is not my mother language, so let me try again: I could not find in thecat /etc/*-releaseoutput nothing concerning Kernel Version (because it is not there). So, the question itself makes no sense.
– JucaPirama
9 hours ago
add a comment |
I don't understand the first point: It does not look like an answer, but I can't tell for sure, as it does not look like a sentence.
– ctrl-alt-delor
2 days ago
My (possibly incorrect) interpretation is that JucaPirama looked for a "differ(ence) in OS distribution and kernel version" and did not see any indication of a different kernel version in the /etc/release output.
– Jeff Schaller♦
2 days ago
English is not my mother language, so let me try again: I could not find in thecat /etc/*-releaseoutput nothing concerning Kernel Version (because it is not there). So, the question itself makes no sense.
– JucaPirama
9 hours ago
I don't understand the first point: It does not look like an answer, but I can't tell for sure, as it does not look like a sentence.
– ctrl-alt-delor
2 days ago
I don't understand the first point: It does not look like an answer, but I can't tell for sure, as it does not look like a sentence.
– ctrl-alt-delor
2 days ago
My (possibly incorrect) interpretation is that JucaPirama looked for a "differ(ence) in OS distribution and kernel version" and did not see any indication of a different kernel version in the /etc/release output.
– Jeff Schaller♦
2 days ago
My (possibly incorrect) interpretation is that JucaPirama looked for a "differ(ence) in OS distribution and kernel version" and did not see any indication of a different kernel version in the /etc/release output.
– Jeff Schaller♦
2 days ago
English is not my mother language, so let me try again: I could not find in the
cat /etc/*-release output nothing concerning Kernel Version (because it is not there). So, the question itself makes no sense.– JucaPirama
9 hours ago
English is not my mother language, so let me try again: I could not find in the
cat /etc/*-release output nothing concerning Kernel Version (because it is not there). So, the question itself makes no sense.– JucaPirama
9 hours ago
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%2f510756%2fwhy-does-a-centos-docker-container-says-it-is-ubuntu%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
2
So you’ve asked a question, been given an answer, which you’ve accepted, but you don’t believe it?
– Stephen Kitt
Apr 5 at 17:34
I want to verify if a container and its host must have the same version of kernel, since they are said to share the same Linux kernel. I am not sure how to understand his comment.
– Tim
Apr 5 at 17:46
1
Have you looked at the resources I suggested here? I think that would help you understand all this better.
– Stephen Kitt
Apr 5 at 18:24
2
"Does a container share the same kernel as its host? If yes, should their kernel versions be the same?" Don't you even read your own post?
– 炸鱼薯条德里克
2 days ago