Комментарии:
Thanks for the tutorial. I wasn't able to run the docker container though as my repository didn't have a name created automatically. it just said <none>. Do you know what I did wrong?
ОтветитьIst ein "Remake" des Videos mit vscode dev containern geplant?
ОтветитьExcellent video! Thanks! Been looking for this for ages but that is not the reason why I watched this video. I thought there was a way to write a program outside a docker container and run that same code in a linux environment of docker container despite being on windows.
ОтветитьInteresting , I used ChatGPT today and within 30 mins created images from my scripts, containerized in docker and monitor with portainer if needed. :D Never heard of this VScode before today haha.
ОтветитьHa sorry, I tried, but Windows... I can't.
ОтветитьIt doesn't create settings.json when I create new python file on vscode
ОтветитьAuf Deutsch bitte. Gern geschehen
ОтветитьGreat video. I wasn't using VSCode. I had to build the container again without the non-root user because the sqlite3 database I had was read-only.
Ответитьvs code has since changed a few times so this video just serves to compound the annoyance with building on microsoft
Ответитьthere is no vscode when json settings when i refresh
Ответитьpywin32 will not work with this. No real solution
ОтветитьIs there a way to mount host directories in the docker container? I have been searching for how to do this, but all I have pulled up is how to do it with "devcontainer.json." The process you showed in your video seems different for some reason.
ОтветитьThis is great bruh!
ОтветитьHi, Christian.... thanks for this, wish I had seen it when I got started. I was particularly interested in the ability to create containers using VSCode tasks.
You might be interested in API Logic Server - it creates executable web app projects from a database, including support for developing in docker, and creating docker containers.
Hi, thanks for this info! I have a question though, what if you are using a library like pandas or matplotlib and need the intellisense to autocomplete or easily access the description of methods that are in libraries that get loaded into the image - container but are not installed locally? I know you can attach to a running container, but when you are building a simple app in python the container stops running right after the script finishes. is there anyway to attach to a container that is stopped to get these features? or the only solution is to install the libraries locally? thanks!
ОтветитьNow when Docker Desktop costs money. Do you have any good solution on how to create a docker image without using a build pipeline? Is there any good way to do this on windows using WSL?
Ответитьvery good
ОтветитьI kept getting stuck on the debug part inside of the container within VS Code - thank you for being so informative!
ОтветитьI have the problem that when I try to add and import a module, say "import numpy as np" it tells me that Pylance is not finding it. Any tips on how to fix that?
Ответитьis there a way to change the code and run again without building the entire container ?
ОтветитьThank you very for clarifying basic concepts of docker.
ОтветитьFast and clear, thank you very much.
ОтветитьThat's so helpful!!! I'm a total beginner and it really helped me step by step to build my first docker image!! Thank you!
ОтветитьHow can I do it if I have an input variable in the python script. please let me know. Thanks in prior.
ОтветитьHi, can anyone help me, I'm wrote my python code(for desktop app) in pycharm, I want to upload it to Microsoft, what steps should I follow?
ОтветитьCan't install Ubuntu 20.04 LTS what to do?
ОтветитьWill the files persist when you stop the containers?
Ответитьyes, would like to learn more about docker image pls
Ответитьdo you have a version for Mac?
ОтветитьI can't Thank you enough ,you just solved my problem <3
ОтветитьThanks for this video. Very useful
Ответитьthank you
Ответитьslightly expanded this example in python to output/print to a file. Any ideas how I would be able to save this output file to host machine, rather then container
ОтветитьThanks , this simplified everything.
Ответитьtrying to follow simply explained tutorial but this no working on linux cause after pressing f1 the pop up (add docker to workspace) isnt showing how do i fix this sir
ОтветитьHello and thank you for posting. I am not very tech savvy, so perhaps you said this but I missed it, but we then have to run python INSIDE Of docker, correct? How do we do that? is there a line(s) in CMD? Thanks
ОтветитьHey Chris. Great Video. How do I deploy my container after I am done with development?
ОтветитьExcellent excellent content.Thanks for sharing your knowledge.
ОтветитьThank you keeping the python example simple.
ОтветитьVery informative and just what i was looking for. Thanks & subbed! :)
ОтветитьTo give Internet access for my container, I just need to add - -net=host right? How about give access of my host webcam to my container? My container python script uses opencv lib
ОтветитьHello Christian. I am now starting to get into docker and I have a question.
Aren't 116 MB for running a simple python application too much?
I think most of this space is the debian image that we are using to run the python script on.
Wouldn't be more space efficient to not have an entire os image to run the script?
Like having only the python bin in the container? Is this possible?
Shouldn't you configure the python interpreted somehow to point to the docker container?
ОтветитьHi there, I tried to do the same with another python code, but when i run the image through the terminal, I get a
/bin/sh: 1: [python,: not found
error. Can you please help me out with this? Thanks.
Really great video. Thank you
Ответить"and because I don't have a very good example let's create a very simple application"
YES man
Tutorials that focus ONLY on what want to learn, just what we need!
Nice video, just don't get it why you recommend ubuntu. In my experience the ubuntu mother, being Debian is much more stable, even if you use the testing branch.
ОтветитьWaiting this video, thank you Christian! How about FastAPI ?
Ответить