Dockerizing the Application

Learn about and practice containerization.

In the previous lesson, we created a stand-alone application with PyInstaller. If an application is intended to run on a specific platform or operating system, and there’s no need to worry about cross-platform compatibility, this can be a straightforward option. A PyInstaller standalone executable can be run with a double-click, providing a familiar installation and execution process for nontechnical users.

But when it comes to cloud deployment of the Dash interactive web app, there are better options.

Docker containerization is a virtualization technology that packages applications and their dependencies into self-contained units called containers. Containers provide an isolated and consistent runtime environment for applications, ensuring portability and compatibility across different systems. Docker containers are lightweight, efficient, and scalable, allowing for easy deployment and management of applications. Docker is often used to package, ship, and run applications reliably in various environments.

Docker Desktop

Docker Desktop is a ...