Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Azure Service Fabric do the same thing as Docker?

My thinking is that people use Docker to be sure that local environment is the same as production and that I they can stop thinking about where are their apps running physically and balancing mechanisms should just allocate apps in best places for that moment.

I'm 100% web based and I'm going to move to cloud together with our databases, and what cannot be moved will be seamlessly bridged so the corporate stuff and the cloud will become one subnetwork.

And so I'm wondering, maybe Service Fabric already does the same thing that Docker does plus it gives as address translation service (fabric:// that acts a bit like DNS for the processes in fabric space) plus (important for some) encourages on demand worker allocation - huge scalability perk.

  1. Can Service Fabric successfully replace Docker?
  2. Is it gaining audience and acceptance? Because otherwise even the greatest invention can fail.
like image 919
doker Avatar asked Sep 02 '16 07:09

doker


People also ask

Does Azure service Fabric use Docker?

Service Fabric supports the deployment of Docker containers on Linux, and Windows Server containers on Windows Server 2016 and later, along with support for Hyper-V isolation mode.

Is Azure similar to Docker?

The Docker hub is an open-source container platform. However, unlike Azure, it is designed to create containers, not run them. It works very well with IronWorker, for batch processing. On the plus side, a Docker image is very simple to use, offers excellent runtime, and provides consistency across the board.

What does Azure service Fabric do?

Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices and containers. Service Fabric also addresses the significant challenges in developing and managing cloud native applications.

Is service Fabric same as Kubernetes?

Service Fabric, the biggest difference between the two is that AKS only works with Docker-first applications using Kubernetes. Service Fabric is geared toward microservices and supports a number of different runtime strategies. Service Fabric can deploy Docker and Windows Server containers.


1 Answers

It's confusing since Docker (the company) is trying to stake claims in everything cloud.

  • Docker Engine (what most people call "Docker") is a containerization technology. It can give you
    • Process isolation
    • Network isolation
    • Consistent application environment
  • Docker Hub is an image registry. It stores Docker images so you can download them as part of your deployment.
  • Docker Cloud is an orchestration system for Docker. It can give you
    • Scale your applications up and down
    • Connect your applications to each other
    • CI testing, integrated with Docker Hub (this isn't part of orchestration, just another thing it does)

Service Fabric is an orchestration system. It can orchestrate Docker containers, but it can also integrate more tightly with your services if you build specifically for Fabric. (Docker is completely agnostic about what runs inside a container.)

So Service Fabric is mostly comparable to Docker Cloud, though it's not an exact match. There are some other Docker-based orchestration solutions (Kubernetes is probably the biggest) and there are other cloud-based micro-service solutions (Heroku is probably the best-known).

The primary disadvantage of Service Fabric is that it's a Microsoft technology and so you're going to be tied to Azure to a greater degree than if you were running Docker. The other is that Docker has a broader range of choices for building your stack: all three Docker-things I listed above have at least one open-source alternative (this is also a big disadvantage of Docker, since nobody's laying out a single Best Practices For You document).

If you love Microsoft and if cobbling systems together is not something that's important to you, then Service Fabric should be a fine alternative to the Docker ecosystem. (And you can still run Docker containers under it.)

like image 141
Nathaniel Waisbrot Avatar answered Sep 23 '22 00:09

Nathaniel Waisbrot