How to build docker image for python flask app

  Рет қаралды 102,154

Hitesh Choudhary

Hitesh Choudhary

Күн бұрын

Пікірлер: 52
@mbeecher9921
@mbeecher9921 7 ай бұрын
My god, I spent half my day bashing my brains against a wall. Turns out I was doing this part right, but I had nginx running on my box that was grabbing all the port 80 traffic and not forwarding it to the docker container. But your video put me on the right track. Thank you for the sanity check.
@manish-mk
@manish-mk 2 жыл бұрын
The last time I saw you wearing a cap was back in 2016. I am having a nostalgic feeling now 😄
@avalancherune2951
@avalancherune2951 Жыл бұрын
I'm also one of those who opens google using google :D Thanks for the tutorial!
@creativekid4534
@creativekid4534 4 ай бұрын
after "docker container ls" command at 12:33, its not showing the content of the labels in the terminal, and the app isn't running on the specified port. the docker image and containers are getting formed in the docker desktop app, tho
@bad_byte5794
@bad_byte5794 2 жыл бұрын
This was awesome!!! Now I'm gonna check how os images are done. Thanks hitesh
@alir8zana635
@alir8zana635 9 ай бұрын
thank you so much for your clear explananation I am looking into learning docker and your video was very helpful this would be a great start and I will continue watching your videos
@TrashallAllsites
@TrashallAllsites 3 ай бұрын
thanks for your share; i have a question about reload the page after changing the code it's possible instead to hit the reload buttons pages each time ?
@jaydave1284
@jaydave1284 Ай бұрын
I could not find the playlist where this Video is.
@pixiedev
@pixiedev 2 жыл бұрын
I deployed 4 docker container and other services for spring boot microservices to AWS and forgot to stop 😅. After a month the bill was of 4000 rs 😳. But I talked and they waved off my bill 😇.
@singhpawank
@singhpawank Жыл бұрын
nice😄
@gokulr5944
@gokulr5944 Жыл бұрын
Can you teach me the AWS??...I need frd to learn together
@bengraham1798
@bengraham1798 11 ай бұрын
I watched your video and followed along but I could not access my container, so I changed my docker run command to "docker container run -d -p 3005:5000 flask_app:latest" and now it works
@kiranbakale8207
@kiranbakale8207 9 ай бұрын
Thanks a ton mate
@yasirali8409
@yasirali8409 Жыл бұрын
you are very cool sir ❤, and how you taught is always amazed me
@SAISHWADKAR-w1s
@SAISHWADKAR-w1s 2 ай бұрын
Hi Hitesh and everyone, this solution is good but what if I want to fetch my code which is in remote repository like gitlab and its a private project. Then how can I pass it to Dockerfile to create an image ? Your help is much appreciated.
@AKKJ420
@AKKJ420 Жыл бұрын
They all rave about dockers has all bells and whistles, however i dont understand is how do you make it to an actual file? If it is in a container it will remain in a container. I know you can share the tar file without using docker hub. For example if i make a simple exe file of a calculator using python, i will need to share the image (which makes sense). But how do i share the end product (exe file)?
@gabormagyar5600
@gabormagyar5600 Жыл бұрын
hi! thanks for sharing! may I ask what extension gives you the hints in vscode terminal?
@hetsonii
@hetsonii Жыл бұрын
Hey! Did you find it?
@vaibhavkapase_official
@vaibhavkapase_official Жыл бұрын
Just after the python press "Space bar" and wait its automatically give the suggestions
@poltergeistducs2948
@poltergeistducs2948 2 ай бұрын
the container said successfully but the localhost is error
@trialaccount2244
@trialaccount2244 2 жыл бұрын
Do online judges like leetcode also built in this way ?
@JagdeepSinghKalsi
@JagdeepSinghKalsi 2 жыл бұрын
Yes
@Ankitha_shriram
@Ankitha_shriram 10 ай бұрын
After stop what is numeric value u are giving of
@baburamchaudhary159
@baburamchaudhary159 6 ай бұрын
15:05 While pushing docker image to docker hub, **we need to be logged in to docker desktop**.
@jeekakrishna
@jeekakrishna 2 жыл бұрын
can you do tutorial on streamlit framework ?
@abdullahsaid8561
@abdullahsaid8561 Жыл бұрын
this whole video is going to be different if it weren't for just localhost, but also real domain with apache / nginx
@mm333-e1t
@mm333-e1t Жыл бұрын
Hi,how would you do local development with docker. Every time you make a change do you need to create an image out of it and create its container and test it? That sounds very tedious. Also, how would you run the flask app without having python installed locally.
@tag_of_frank
@tag_of_frank Жыл бұрын
Set up a docker volume. Then when you change your code locally those changes will be automatically present in the container. Then just refresh your browser.
@arpankhetani7818
@arpankhetani7818 14 күн бұрын
Thank you for this video
@Abhishek_Bhosale-Devops
@Abhishek_Bhosale-Devops Жыл бұрын
cant able to open in browser localhost:4000
@playcodeacm
@playcodeacm Жыл бұрын
This really awesome, Can you create tutorial build docker for flask app and mysql ?
@kulasekhar
@kulasekhar Жыл бұрын
I'm new to web development. Could someone explain why we would need to run a flask app in docker? Is it like we create a docker image for each user that logs into our website? Thanks
@forrestgoryl1650
@forrestgoryl1650 Жыл бұрын
If you are developing an application for use on your local machine, you don't need to use docker. Docker is software that 'containerizes' an application, so it can be used on other machines which might not have the same operating system or development environment as your own. It can be thought of basically like a souped-up virtual environment. TechWorld with Nana does a great docker beginner's video for an additional resource.
@gokulr5944
@gokulr5944 Жыл бұрын
​@@forrestgoryl1650bro can you teach me the docker and AWS.. I need a frd to learn things together
@ahinfencer0742
@ahinfencer0742 Жыл бұрын
Hi please make a video on running Clickhouse as a docker
@JagdeepSinghKalsi
@JagdeepSinghKalsi 2 жыл бұрын
This is not fair.. too many docker images... 😁😁😁 I meant to create these videos this weekend... It'll be tough to top this...
@HiteshCodeLab
@HiteshCodeLab 2 жыл бұрын
Hahaha, let’s collab on something then. 😁
@CuddleCoder
@CuddleCoder Жыл бұрын
So is this is called Microservice?
@khalidRaza01
@khalidRaza01 Жыл бұрын
Hey, will this deploy flask app in container as development server or in production.
@MandarKarekar
@MandarKarekar 6 ай бұрын
Good Video, Thanks
@yashwants18
@yashwants18 Жыл бұрын
Good tutorial.
@viralrupani7248
@viralrupani7248 2 жыл бұрын
This is what I was looking for 😋
@YouAndImpact
@YouAndImpact 2 жыл бұрын
Amazing 👍
@clementpickel5014
@clementpickel5014 Жыл бұрын
Tank you sir
@LaercioDeCosta-is4fy
@LaercioDeCosta-is4fy 8 ай бұрын
Congrats!
@akSingh_120
@akSingh_120 8 ай бұрын
Thanks buddy
@aimanal-fatih386
@aimanal-fatih386 2 жыл бұрын
Nice
@pappuashkhandekar2
@pappuashkhandekar2 Жыл бұрын
@sahilchakote2945
@sahilchakote2945 Жыл бұрын
getting error like # n by 'NewConnectionError(': Failed to => => # establish a new connection: [Errno -3] Try again')': /simple/flask/ => => # WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=N what can be done here?
@kuppilijagadeeswararao7765
@kuppilijagadeeswararao7765 Жыл бұрын
Super
How I deploy serverless containers for free
6:33
Beyond Fireship
Рет қаралды 583 М.
Docker Tutorial For Beginners - How To Containerize Python Applications
22:17
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Containerizing a simple Python Flask app using Docker
13:59
Fresh project ideas for 2025 from postman public network
11:38
Hitesh Choudhary
Рет қаралды 28 М.
How to build docker image for nodejs apps
28:47
Hitesh Choudhary
Рет қаралды 87 М.
CrewAI and AgentOps for the win
23:43
Agency AI
Рет қаралды 94
Containerize Python Applications with Docker
20:51
NeuralNine
Рет қаралды 133 М.
How openai and anthropic publish their SDK and you can too
17:01
Hitesh Choudhary
Рет қаралды 19 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,9 МЛН
How To Use Docker To Make Local Development A Breeze
21:53
ArjanCodes
Рет қаралды 328 М.
Containerizing Python web apps with Docker, Flask, Nginx & uWSGI
25:38
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН