
#WHAT CAN YOU DO WITH DOCKER FOR MAC INSTALL#
Install WSL and set up a user name and password for your Linux distribution running in WSL 2.Ensure your machine is running Windows 10, updated to version 2004, Build 18362 or higher.To learn more, checkout the Introduction to Docker containers on Microsoft Learn. You can also archive different versions of your app using containers and keep them running as a safety fallback if needed. You can prepare a new container with all of your updates, set up the container for production, and just point to the new container once it's ready. Rather than needing to take down an entire system for updates or maintenance, each container (and it's specific microservices) can be replaced on the fly. This enables multiple versions of your app container to be created at different times.

This allows the app package to only require parts not already on the host computer, reducing the package size and improving performance.Ĭontinuous availability, using Docker containers with tools like Kubernetes, is another reason for the popularity of containers.

Instead, Docker enables the app to use the same Linux kernel as the system that it's running on. This permits developers to focus on writing code without worrying about the system that code will be run on.ĭocker containers are similar to virtual machines, but don't create an entire virtual operating system. Using a container ensures that the app will run the same regardless of any customized settings or previously installed libraries on the computer running it that could differ from the machine that was used to write and test the app's code. Containers enable developers to package an app with all of the parts it needs (libraries, frameworks, dependencies, etc) and ship it all out as one package. Overview of Docker containersĭocker is a tool used to create, deploy, and run applications using containers. By enabling the WSL 2 based engine, you can run both Linux and Windows containers in Docker Desktop on the same machine.

#WHAT CAN YOU DO WITH DOCKER FOR MAC FOR FREE#
This step-by-step guide will help you get started developing with remote containers by setting up Docker Desktop for Windows with WSL 2 (Windows Subsystem for Linux, version 2).ĭocker Desktop for Windows is available for free and provides a development environment for building, shipping, and running dockerized apps.
