im a noob and cant get the docker compose command to work #276

Closed
opened 2025-11-11 14:15:02 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @madmike970 on GitHub (Feb 7, 2024).

so i had ollama set up as a vm in proxmox and couldnt get the webui installed on that system.. just started a bare ubuntu 23.1 vm and installed docker with
apt-get docker.io
tried to run
docker compose up -d --build
and got back
unknown shorthand flag: 'd' in -d
See 'docker --help'
i have no clue what im doin wrong any help is appreciated.. im just a construction worker trying to figure this stuff out lol

Originally created by @madmike970 on GitHub (Feb 7, 2024). so i had ollama set up as a vm in proxmox and couldnt get the webui installed on that system.. just started a bare ubuntu 23.1 vm and installed docker with apt-get docker.io tried to run docker compose up -d --build and got back unknown shorthand flag: 'd' in -d See 'docker --help' i have no clue what im doin wrong any help is appreciated.. im just a construction worker trying to figure this stuff out lol
Author
Owner

@justinh-rahb commented on GitHub (Feb 7, 2024):

Did you install Docker and Compose according to the official docs? They start off with apt remove docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc to remove the distro-packaged versions of Docker and its dependencies or alternative drop-in compatibles.

@justinh-rahb commented on GitHub (Feb 7, 2024): Did you install Docker and Compose according to the official docs? They start off with `apt remove docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc` to remove the distro-packaged versions of Docker and its dependencies or alternative drop-in compatibles.
Author
Owner

@mhussaincov94 commented on GitHub (Feb 7, 2024):

hi! sir newb sir!
try this for size.
sudo docker-compose up -d --build
there is a - between docker and compose
don't go removeing packages yet.
tell me if that works.

@mhussaincov94 commented on GitHub (Feb 7, 2024): hi! sir newb sir! try this for size. sudo docker-compose up -d --build there is a - between docker and compose don't go removeing packages yet. tell me if that works.
Author
Owner

@justinh-rahb commented on GitHub (Feb 7, 2024):

hi! sir newb sir! try this for size. sudo docker-compose up -d --build there is a - between docker and compose don't go removeing packages yet. tell me if that works.

In older versions of Compose, yes you'd invoke it with docker-compose. Not so with newer versions since v2, ollama-webui expects version >=3.8 btw.

@justinh-rahb commented on GitHub (Feb 7, 2024): > hi! sir newb sir! try this for size. sudo docker-compose up -d --build there is a - between docker and compose don't go removeing packages yet. tell me if that works. In older versions of Compose, yes you'd invoke it with `docker-compose`. Not so with newer versions since v2, ollama-webui expects version `>=3.8` btw.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#276