Open-Assistant
Open-Assistant copied to clipboard
Unknown flag: --build
I tried running the command shown in the README to run the demo, docker compose up --build
, but then I get this error:
unknown flag: --build
Keep in mind I'm using the rootless version of Docker, as to avoid using systemd
.
Try Installing docker-compose
package
for me it also works when I do not add --build to the command
It's because you are using docker-compose v1 and you have to move to docker compose v2. See here in the FAQ. The linked Stack Overflow answer gives the fix. In short, you have to install the docker-compose-plugin
, i.e., apt-get install docker-compose-plugin
on Debian/Ubuntu.
Closing this as it seems to have been answered, feel free to comment again if the solutions mentioned don't work