Using Freshworks apps? Check out what we can do for you! Learn More

Back

3 Important Updates of Docker Desktop 2.2 that Would Ease the App Development Process

DOCKER-DESKTOP-2-TechAffinity

Docker has now released the stable desktop version 2.2 of Docker Desktop. Let’s begin with the Docker update that came out of the box first and then have a deeper look into its features individually.

  1. The Desktop Dashboard allows you to interact with ContainersContainersContainers make it simple for developers to know that their software will run, no matter where it is deployed and enable microservices. Instead of having one large app, microservices break down apps into multiple small parts that talk to each other. and applications, and manage your app’s lifecycle from the desktop itself. Also, it allows you to access the logs, view container details, and monitor resource utilization to explore the container behavior.
  2. New file sharing implementation that replaces SambaSambaSamba allows file and print sharing between computers running Microsoft Windows and computers running Unix. It is an implementation of dozens of services and a dozen protocols, including: NetBIOS over TCP/IP (NBT) SMB (known as CIFS in some versions), CIFSCIFSCommon Internet File System (CIFS) is a network filesystem protocol used for providing shared access to files and printers between machines on the network. A CIFS client application can read, write, edit and even remove files on the remote server., and Hyper-V networkingHyper-V networkingA virtual switch allows virtual machines created on Hyper-V hosts to communicate with other computers. You can create a virtual switch when you first install the Hyper-V role on Windows Server..
  3. WSL (Windows Subsystem for Linux) 2 now supports KubernetesKubernetesKubernetes is an open-source container-orchestration system for automating application deployment, scaling, and management. It was originally designed by Google, and is now maintained by the Cloud Native Computing Foundation., offers an updated Docker Daemon and offers VPNVPNWhat is VPN - A virtual private network extends a private network across a public network, and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network.-friendly networking.
What is VPN?

A Virtual Private Network extends a private network across a public network and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network.

Integrated Desktop Dashboard

Now, the dashboard has a GUIGUIThe graphical user interface is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, instead of text-based user interfaces, typed command labels or text navigation. that is capable of abstracting information from your CLICLICommand line interface (CLI) is a text-based interface that is used to operate software and operating systems while allowing the user to respond to visual prompts by typing single commands into the interface and receiving a reply in the same way.. Also, you can now quickly view the ports being used by the ContainersContainersContainers make it simple for developers to know that their software will run, no matter where it is deployed and enable microservices. Instead of having one large app, microservices break down apps into multiple small parts that talk to each other. and maintain container resource utilization. Moreover, it offers access to container logs and Compose logs to monitor the container behavior and compose applications respectively.

WSL 2 with a Revamped Architecture

Docker has replaced the Docker Desktop WSL 2 Tech Preview with Docker Desktop WSL 2 back-end. This new architecture extends its support for Kubernetes, offers Docker Daemon and VPNVPNWhat is VPN - A virtual private network extends a private network across a public network, and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network.-friendly networking. The following docker updates are released in stable Docker Desktop 2.2:

  • Work with only WSL 2 or turn off the HyperV VM while working with WSL2.
  • To make use of the WSL 2 features you will need to be on a Windows preview version that supports WSL 2.
  • KubernetesKubernetesKubernetes is an open-source container-orchestration system for automating application deployment, scaling, and management. It was originally designed by Google, and is now maintained by the Cloud Native Computing Foundation. support: you can now enable Kubernetes when using the WSL 2 back-end
  • Updated Daemon: the WSL 2 back-end now runs the latest stable Docker Daemon
  • VPN-friendly networking: the WSL 2 back-end leverages vpnkit to ensure a VPN-friendly networking stack
  • Continue to work as they did in the traditional Docker Desktop with a friendly networking stack, support for HTTPHTTPHTTP means HyperText Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. proxy settings, and trusted CA synchronization.
File Sharing System Improvements on Windows

The conventional Docker file system was based on the SambaSambaSamba allows file and print sharing between computers running Microsoft Windows and computers running Unix. It is an implementation of dozens of services and a dozen protocols, including: NetBIOS over TCP/IP (NBT) SMB (known as CIFS in some versions) protocol to facilitate interaction between Linux and Windows file systems. It is now replaced with gRPC FUSE. Moreover, when the source code is shared in Docker Desktop Edge, you can witness the second fetch (cached codes) to be 60% faster.

gRPC FUSE:

  • doesn’t conflict with organization-wide security policies.
  • uses caching to (for example) decrease page load time in Symfony (PHPPHPHypertext Preprocessor, fondly called as PHP, is one of the widely used open source scripting language mainly focused on web development which can be embedded into HTML. In addition, it acts as a server-side scripting language as well as a general-purpose programming language. framework) by up to 60%.
  • is independent of how you authenticate to Windows: compatible with smartcard & Azure AD.
  • supports Linux inotify events, initiating automatic reload/recompilation when the source code is changed.
  • works irrespective of whether your VPNVPNWhat is VPN - A virtual private network extends a private network across a public network, and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network. is connected or not.

We, at TechAffinity, have developers with years of experience in working with Docker and have facilitated businesses with all their queries. Line up your queries to media@techaffinity.com or schedule a meeting with our team to discuss your queries.

Download Docker for Windows

Download Docker for Mac

Subscribe to Our Blog

Stay updated with latest news, updates from us