Application Containerization - Bhushan-Jagtap-2013/AzureServiceFabricExamples GitHub Wiki

Containers

  • Allows lift and shift to cloud
  • Cloud portability
  • Resource isolation
  • Sandbox applications

Container problems

  • Have to use external storage or mount external volumes.
  • Operations cost: hard to run at scale
    • manage your own infrastructure
  • Shares the OS kernel and one compromised container can cause issue for others.

Service Fabric container advantages:

  1. Image deployment and activation
  2. Resource governance
  3. Repository Authentication
  4. Container to container discovery
  5. Application configuration
  6. Container security credentials
  7. Container networking modes.
  8. Run service fabric application and container together in single cluster.

Preparing environment

  • Docker desktop
  • Account on hub.docker.com for storing docker image
  • Service Fabric cluster

Storage with container

  • We can mount external storage like Azure Storage File Share Volume using Docker Volume Driver