What is the difference between running software in a Docker container Vs Real OS

This question is from a perspective of OS kernel, dependencies and customizations a distro might have, since docker containers shares the host OS kernel, just that perform isolation on it’s resources and allow to use say from an Ubuntu host OS a docker container running CentOS.

What would be the differences or “to-keep-in-mind” details when running software directly in a host OS vs a docker container?

  • Indices Red/Dangling when upgrading Elasticsearch cluster from 2.x to 5.x in docker
  • How to access private GitHub repositories in docker-compose?
  • Docker: LetsEncrypt for development of “Https everywhere”
  • Reconstruct dockerfile from image with java docker client
  • Unable to access MongoDB within a container within a Docker Machine instance from Windows
  • docker-machine to connect with external host
  • The use case and context is that, say you want to certify your software runs ok on a certain distro, say CentOS, then you fire up a docker container with this as base image but running in an Ubuntu OS as Host. Would it be significant differences between this setup VS running the software/tests directly on a host installed CentOS?.

  • Port-forwarded Rails app in Docker seems to cause CSRF exception
  • Docker: Nginx and php5-fpm dockers are not talking
  • Installing specific version of docker
  • How to access Docker web app from host OS?
  • Docker containers: curl between containers not working
  • Fleetctl job already exists
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.