failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount2396362875/Dockerfile: no such file or directory
namen3645 opened this issue · 5 comments
Description
___ _______ _ ________
/ | / () |/ / __/
/ /| |/ / __/ /| / / /
/ ___ / // / // | / /
// |_////||//
Visit our documentation at https://AGiXT.com
Welcome to the AGiXT Installer!
Please choose an option:
- Run AGiXT (Recommended)
- Run AGiXT with Text Generation Web UI (NVIDIA Only)
- Run AGiXT with Text Generation Web UI and Stable Diffusion (NVIDIA Only)
Developer Only Options (Not recommended or supported): - Run AGiXT from Main Branch
- Run AGiXT from Main Branch + Addons (NVIDIA Only)
- Run AGiXT without Docker
Manage: - Enable Automatic Updates
- Exit
Enter your choice: 3
Confirmed NVIDIA Container Toolkit is installed.
Running Docker install...
Starting Docker Compose...
Building text-generation-webui
[+] Building 0.0s (2/2) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount2396362875/Dockerfile: no such file or directory
ERROR: Service 'text-generation-webui' failed to build : Build failed
root@DESKTOP-NK2R4R0:~/AGiXT#
Steps to Reproduce the Bug
1.Use Ubuntu 22.04 in WSL Windows 10
2. Run command:
git clone https://github.com/Josh-XT/AGiXT
cd AGiXT
./AGiXT.sh
3. Select Run AGiXT with Text Generation Web UI (NVIDIA Only)
4. Get error: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount2396362875/Dockerfile: no such file or directory
Expected Behavior
AGiXT running succesfully
Operating System
- Linux
- Microsoft Windows
- Apple MacOS
- Android
- iOS
- Other
Python Version
- Python <= 3.9
- Python 3.10
- Python 3.11
Environment Type - Connection
- Local - You run AGiXT in your home network
- Remote - You access AGiXT through the internet
Runtime environment
- Using docker compose
- Using local
- Custom setup (please describe above!)
Acknowledgements
- I have searched the existing issues to make sure this bug has not been reported yet.
- I am using the latest version of AGiXT.
- I have provided enough information for the maintainers to reproduce and diagnose the issue.
Also just had this error. same parameters but latest popos
same issue here!
it seems in docker-compose-local-nvidia.yml
the dockerfile should be:
text-generation-webui:
build:
context: text-generation-webui/.
dockerfile: docker/nvidia/Dockerfile <--
instead of:
text-generation-webui:
build:
context: text-generation-webui/.
dockerfile: docker/Dockerfile
it seems in docker-compose-local-nvidia.yml the dockerfile should be:
text-generation-webui: build: context: text-generation-webui/. dockerfile: docker/nvidia/Dockerfile <--
instead of:
text-generation-webui: build: context: text-generation-webui/. dockerfile: docker/Dockerfile
And the same in docker-compose-local-nvidia-sd.yml if you picked option 3, with stable diffusion.
The docker-compose files have been updated to point to the path where the Dockerfile was moved in their repository.