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...

Комментарии • 4

  • @JoseAntonio-sn6sf
    @JoseAntonio-sn6sf 27 дней назад

    At 51:00, is that WSL 1 or WSL 2? I mean where to install the toolkit?

    • @themachinelearningengineer
      @themachinelearningengineer  27 дней назад +1

      wsl2 always
      and you have to install it in linux, i meand in the linux distro you choose in wsl

    • @JoseAntonio-sn6sf
      @JoseAntonio-sn6sf 27 дней назад

      @@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?

    • @themachinelearningengineer
      @themachinelearningengineer  26 дней назад

      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