What are the advantages of docker containers over statically linked EXEs? -


i struggling understand practical problem docker solves. docker prescribes "one process per container". if container encapsulates 1 program/process, advantage there on statically linked executable? doesn't same thing (encapsulate program) in more simple , efficient way?

docker resolve list of common problems statically linked exe not:

  • you distribute app folders in known file system, environment variables initialized, , network settings created , established work. not in risky setup time app running first time trying create folders, paths, environment vars, etc. , getting crashed permissions errors, network unidentified, abi incompatibilities, etc.
  • it more convenient setup microservices architectures. many instances running each 1 in own environment without conflicting races , offering tools distribute, load , running backend services.

Comments