This is a two part video.
First, I explain what Docker is and why its useful.
Next, we dive into a hands-on beginner tutorial where I show how to containerise a Python FastApi app using Docker.
Docker is an open-source platform that allows us to to automate deployments by packaging applications so that they can be run efficiently in different environments. Code and everything it needs to run (its dependencies) get bundled together in a Docker image. The image is run as something called a Docker container.
Source code:
https://github.com/mhkamal1/yt-conten...
00:00 Docker explained
00:27 What is Docker?
00:36 The need for virtualization
00:54 Virtualization with VMs
01:09 Virtualization with Docker
01:33 Virtualization vs. Docker
01:47 Dockerfile explained
01:54 Docker images explained
02:18 Docker containers explained
02:29 Docker tutorial FastApi
02:52 Boilerplate code
03:10 requirements file with pip freeze
03:29 Creating a Dockerfile
07:55 Build Docker Image with docker build
08:40 View images with docker image ls
08:55 Run image with docker run
09:28 Demo Time!! View FastApi app
09:48 Bonus: Changing port mapping
10:18 Bonus: Exec into running container & detached mode
11:07 Bonus: Exploring filesystem of the running container
11:37 Thank you for watching!!!
Please consider liking if you found the video useful and subscribe for more!
Subscribe here: / @haseebkamal
In questa pagina del sito puoi guardare il video online Python Docker Tutorial for Beginners della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Haseeb Kamal 15 luglio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 809 volte e gli è piaciuto 21 spettatori. Buona visione!