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:
- Image deployment and activation
- Resource governance
- Repository Authentication
- Container to container discovery
- Application configuration
- Container security credentials
- Container networking modes.
- 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