How to create a Dockerfile and a Docker Compose file practical example
HTML-код
- Опубликовано: 30 сен 2024
- In this video I will show you how to build a complete ML application in docker containers and use a docker compose file to run it
Code:
github.com/olo...
At 51:00, is that WSL 1 or WSL 2? I mean where to install the toolkit?
wsl2 always
and you have to install it in linux, i meand in the linux distro you choose in wsl
@@themachinelearningengineer Thanks! Now, I am testing your project LLM_Notebooks/docker and when running with either:
docker build --pull --rm --build-arg mlflow_user=olonok -f Dockerfile -t detectai-mlflow:latest "."
OR
docker build --pull --rm -f "custom_classifier\Dockerfile" -t detectai-custom_classifier:latest "custom_classifier"
It throws an error because the files' names and paths are messed up, at the end which Dockerfile are you using to build the image in 41:41?
I am using both. One use the mlflow docker (artifact store and tracking server) and the other to build another docker which contains a custom classifier. In the repo you have examples of Dockefiles and Docker compose, but you dont have the rest of the original repository as they are part of a commercial application and I can not pass it. You can not use the command literally , you need to adapt them to your own example