dalle-flow
dalle-flow copied to clipboard
Do I just use a console window (command prompt) to enter this?
I see your instructions has things like: (I don't have Jina installed either for the same reason).
docker pull jinaai/dalle-flow:latest
I have never created a Docker container. Do I use Powershell, or just a command prompt, or what should I be entering these commands into?
I am a C# developer, and I know Python, but I don't have a clue from your instructions what to do. Is there a YouTube video of how to setup the docker image for Dalle-Flow? I have the GPU for this, so I am anxious to try.
Thank you
check out docker's get-started to learn more about docker images.
The section run-in-docker should be run inside your terminal.
After you've set up your server, you need connect to the server, for example via the provided jupyter notebook, using the grcp address - probably grpc://localhost:51005
I got further after I posted. I installed Docker, got the container downloaded and extracted. When I went to build it, I got some error and didn't know how to solve it and gave up.
Maybe you know this:
Given these instructions below, do I replace {USER} with my user name or leave these as {USER}? I left them as is and got an error.
docker build --build-arg GROUP_ID=$(id -g ${USER}) --build-arg USER_ID=$(id -u ${USER}) -t jinaai/dalle-flow
Thank you for the reply. I didn't know what to do after the build fails. (I can't tell you the error because I got frustrated and uninstalled Docker, but may put it back on and try again some day).
Can you post the error that you got? you can format code using the add code
button.
$USER returns the current user in a linux environment.. This variable will be passed through to docker as the user when building the image. So you need a diff. solution on windows.
i would recommend that you set up WSL2 if you are on a windows machine, as there are a few caveats and workarounds required when using Jina in windows. Not sure if that is your problem, but could very well be. In WSL you should be able to run the commands directly as stated in the readme.
When I installed Docker for Windows, it used WSL2 (recommended it said). I will post the error if/when I try again.
Also, I had to install some update for Linux Kernal for Windows or something like that.
Thanks
https://github.com/jina-ai/dalle-flow/issues/107#issuecomment-1246525091