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