ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Running applications in Docker [2024] (Python + FastAPI example)

auth0

openid connect

openid

openidconnect

oauth

auth2

open authorization

jwt

json web token

api security

api authentication

api authorization

authentication

authorization

auth

authz

auth/authz

access tokens

refresh tokens

oauth flows

id tokens

fastapi

python

apis

rest apis

graphql

render.com

devops

deployments

docker

Автор: microapis

Загружено: 2024-08-09

Просмотров: 1312

Описание: Run applications with Docker!

The code for this tutorial is available here: https://github.com/abunuwas/short-tut...

To follow along with the tutorial, please install Docker (https://www.docker.com/) in your system and follow the instructions to the get Docker daemon up and running. The Daemon must be running to be able to run Docker processes.

What is Docker? Docker is a virtualization technology that allows you to build lightweight images. Docker shares the kernel with the host machine instead of running its own kernel as traditional virtual machines do.

Say what...?

Let's put in simple terms: Docker is an engine that allows you to run your code in completely isolated environments. Docker builds are called images. When we run an application based on a Docker image, we create a container. Think of containers as instances of the image.

The great thing about Docker is that you can use the same build (image) and run it anywhere, so you get reproducible environments. You can get the same code that runs in production and run it in your machine. This is great for debugging and troubleshooting problems in production.

Docker images can be run on any platform that has a Docker engine, which allows us to replicate the same environment in production and in local. The process that runs off a Docker image is called a container.

This tutorial shows you how to dockerize a FastAPI application, but you can apply the same approach to any other Python application or applications from any other stack.

Let's go!

00:00 Introduction
01:39 Walk through the code
03:30 Installing dependencies and running the application
04:57 Install Docker
05:39 Creating a Dockerfile (touch Dockerfile)
13:37 Building a Docker image (docker build -t image:tag)
14:47 Listing Docker images (docker image ls)
15:35 Run the application as a Docker container (docker run)
17:56 Running the Docker container in the background (docker run -d)
18:24 docker ps (get a list of running Docker containers)
18:40 Step within a running Docker container (docker exec)
21:09 Stop Docker containers running in the background (docker ps + docker stop)
21:20 Run containers with a bash session
22:18 List all stopped containers (docker ps -a)
23:03 Resume execution of a stopped container (docker start)
24:22 Deleting stopped containers
25:31 Deleting a Docker image
26:05 Tutorial followups
26:54 Wrapup


#python #fastapi #render #devops #deployments #rdocker

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Running applications in Docker [2024] (Python + FastAPI example)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]