Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose ERROR: The Compose file is invalid because: Service base has neither an image nor a build context specified. At least one must be provided. #1002

Open
donnm opened this issue Apr 18, 2024 · 1 comment
Labels
Feedback needed Project maintainers wait for feedback from OP

Comments

@donnm
Copy link

donnm commented Apr 18, 2024

Describe the bug
docker-compose installation instructions fail with error: ERROR: The Compose file is invalid because:
Service base has neither an image nor a build context specified. At least one must be provided.

INGInious installation details

To Reproduce
Steps to reproduce the behavior:

  1. Clone git clone https://github.com/UCL-INGI/INGInious.git
  2. Run docker-compose up --build
  3. See error

Expected behavior
docker-compose should successfully build and start the container.

Desktop (please complete the following information):
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

$ docker --version
Docker version 20.10.24+dfsg1, build 297e128

$ docker-compose --version
docker-compose version 1.29.2, build unknown

Additional context
How to install? instructions contain a typo: $ docker compose up --build
Should be: $ docker-compose up --build

@donnm donnm added Bug Triage needed Project maintainers still have to review this issue labels Apr 18, 2024
@nrybowski nrybowski added Feedback needed Project maintainers wait for feedback from OP and removed Bug Triage needed Project maintainers still have to review this issue labels May 2, 2024
@nrybowski
Copy link
Member

Hello,

There is a compose plugin making the compose command directly available in the docker CLI.

Does that solve your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feedback needed Project maintainers wait for feedback from OP
Projects
None yet
Development

No branches or pull requests

2 participants