AKS icon indicating copy to clipboard operation
AKS copied to clipboard

Is there a version/date for when Docker as a container runtime will be deprecated?

Open devteng opened this issue 6 years ago • 4 comments

We are using Docker-in-Docker on Kubernetes to build our images and we saw that the default will be set to Containerd for AKS 1.19. Is there a final AKS version that ContainerRuntime=docker will stop working? It takes time for some companies to switch their Docker building workflow over and would be great if there is a timeline.

Also, are there guidance for customer using Docker and AKS to build Docker images to switch over to an alternative? Preferably buildx.

devteng avatar Oct 16 '20 12:10 devteng

Hi devteng, AKS bot here :wave: Thank you for posting on the AKS Repo, I'll do my best to get a kind human from the AKS team to assist you.

I might be just a bot, but I'm told my suggestions are normally quite good, as such:

  1. If this case is urgent, please open a Support Request so that our 24/7 support team may help you faster.
  2. Please abide by the AKS repo Guidelines and Code of Conduct.
  3. If you're having an issue, could it be described on the AKS Troubleshooting guides or AKS Diagnostics?
  4. Make sure your subscribed to the AKS Release Notes to keep up to date with all that's new on AKS.
  5. Make sure there isn't a duplicate of this issue already reported. If there is, feel free to close this one and '+1' the existing issue.
  6. If you have a question, do take a look at our AKS FAQ. We place the most common ones there!

ghost avatar Oct 16 '20 12:10 ghost

Triage required from @Azure/aks-pm

ghost avatar Oct 18 '20 18:10 ghost

After Containerd GA in November all versions v1.19+ will default to containerd, so all new clusters created or upgraded to 1.19+ will only use containerd and not have access to dockerd.

Kubernetes 1.18 (the latest before 1.19) still has a 6month+ lifecycle as of today. We hope this provides enough time for folks to be able to drop DinD or Docker sockets in favor of solutions like buildx (that, together with acr build is what we recommend indeed) https://docs.microsoft.com/en-us/azure/aks/cluster-configuration#containerd-limitationsdifferences

palma21 avatar Oct 19 '20 06:10 palma21

Thanks for reaching out. I'm closing this issue as it was marked with "Answer Provided" and it hasn't had activity for 2 days.

ghost avatar Oct 21 '20 12:10 ghost