Matan , you have became my favorite tech channel. It's so refreshing. You get straight to the point, and have clear instructions without rambling on. Thank you, and keep up the great work !
I have watched several videos and read many tutorials and never found something quit like this! It had everything I needed to know regarding images, containers and volumes! This is GOLD! Thank you!
Great explanation, this is the present/future having your own containers with built-in development tools, I don't see a better solution for application development! 🔝
Rare comment, but you just earn you self a new 👍 and the algo works this time. Keep going, matan! These several topics haunted me. But you help me a lot. Too many not to bother demostrate the step but you Covered the instances I am looking for recently, i.e., guidance installation(wsl/hyper V), the behaviors of docker&container , command line, interaction in vscode, and extension, basic Linux bash, pwd ...etc Not too difficult to not comprehend it. Window + vscode + docker desktop and extensions, especially the demonstrations of each case ... etc
what about the problem that containers can't be transferred between computers because their default storage location is in the docker folder, not in the workspace of the project you are working on? how did you solve that?
Question: So when I’m developing, just run the Python image, pass the volume, attach container, and develop my app/debug etc. then when I’m done and ready to launch the app I build my own docker image with the commands to run my app?
Im having trouble with the path . the ${pwd} wont work for me . When i go to the container there is no example file. Im very interested in why it wont work for me.
It is not the best. it will be very slow. especially windows + hyper v + docker bind mount. it is the worst combination for the performance. but it is useful to set up quick development environment. I would rather use venv.
Hello, thank you for the video. I have just a problem. When i want to build my image, i get the error WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo faile ERROR: Could not find a version that satisfies the requirement aiohttp==3.8.4 (from versions: none) ERROR: No matching distribution found for aiohttp==3.8.4 WARNING: There was an error checking the latest version of pip. How can i solve the problem? I did not find any solution yet..
I don't really see the advantage of setting up containers to run a python code when installing python on Windows is very easy and VSCode can be used directly with the Python extension. Am I missing something? It is a lot of work setting up containers, stopping, worrying about permanent folders, shared files/folders, etc.... The docker machine is only used to run the code. This seems to be a total waste of work. A container, another container, a volume, etc... between containers, etc... Why??? Is it just as a docker exercise? You need Python installed on a container, on a linux based system. Everything you do in container can be done very simply on the Windows machine! If people like to run Docker containers with Linux so much, from Windows, why don't they install Linux distro directly instead of Windows? I got a headache trying to follow the monologue...