containers - Is docker a solution for making application cross platform? -


i'm getting started docker reading blogs , introduction material.

my understanding docker can wrap single application standardized container. container provides sandbox, necessary resources application needs run, , application inside live within container. means can ship container everywhere( different kind of os or cloud platforms ) , should still can run correctly.

if understanding correct, mean maybe microsoft can wrap office suits container , can install , run on mac os or linux? , other nice mac application can shipped windows , linux?

docker user-friendly layer on top of lxc, set of linux kernel features allowing namespacing of filesystem configuration, network resources, process tables, , other kernel-mediated resources historically global. (it's closer freebsd jails kvm or vmware).

these features specific linux, , application running in docker container still interfacing directly host's linux kernel (though has access subset of resources exposed namespaces in participates). similarly, opcodes run directly on hardware no emulation on virtualization in place, hardware differences not abstracted away either

docker not cross-os (or cross-architecture) portability layer, , not hide implementation details applications depend on specific kernel versions, less entirely different operating systems altogether.


early 2017 update

docker runs on mac, bundling lightweight virtualization stack similar kvm on linux. when running way, it's doing both virtualization , containerization -- former run (single) linux kernel, latter run series of separate containers within kernel.

this still means it's limited running native linux apps, , still doesn't provide display layer desktop applications (x11, vnc, or else along lines needs used in addition). however, bundling virtualization tool, modern docker is of portability solution (across platforms, not architectures).


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -