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

ERROR: Invalid interpolation format for "build" option in service "php": "${SYMFONY_VERSION:-}" #247

Closed
sruj opened this issue May 31, 2022 · 7 comments
Labels
support Support requested

Comments

@sruj
Copy link

sruj commented May 31, 2022

Hi, I'm trying to use symfony docker and I'm stuck on step 2 from read.me . Command docker-compose build --pull --no-cache throw
ERROR: Invalid interpolation format for "build" option in service "php": "${SYMFONY_VERSION:-}" and google is silent for it.

I'm also fresh with Docker...

@maxhelias
Copy link
Collaborator

Hello,
What is your version of docker-compose?

@maxhelias maxhelias added the support Support requested label May 31, 2022
@sruj
Copy link
Author

sruj commented May 31, 2022

Hello, What is your version of docker-compose?

Docker Compose version v2.5.0

@maxhelias
Copy link
Collaborator

At first sight, I would have said the version of docker-compose but it doesn't look like it.
I will need more info on your environment to help you

@tutolmin
Copy link

I had the same error with an older version of docker-compose script
#ls -al /usr/bin/docker-compose
-rwxr-xr-x 1 root root 419 фев 22 2018 /usr/bin/docker-compose
#docker-compose -v
docker-compose version 1.17.1, build unknown

After reinstalling it worked like a charm:
#curl -SL https://github.com/docker/compose/releases/download/v2.6.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
#chmod +x /usr/local/bin/docker-compose
#mv /usr/bin/docker-compose{,.old}
#ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
#docker-compose -v
Docker Compose version v2.6.0

@maxhelias
Copy link
Collaborator

In fact, it is the Docker engine that must be 17.09.0+

@sruj
Copy link
Author

sruj commented Sep 23, 2022

I have:

pawel@PC-19:~$ docker-compose -v
Docker Compose version v2.6.0
pawel@PC-19:~$ docker compose version
Docker Compose version v2.10.2
pawel@PC-19:~$ docker -v
Docker version 20.10.18, build b40c2f6

And still stuck on 2nd step with "no configuration file provided: not found"
image

pawel@PC-19:~$ sudo docker compose build --pull --no-cache
no configuration file provided: not found

@sruj
Copy link
Author

sruj commented Sep 23, 2022

Sorry, I'm new with Docker, I did't download locally Your project https://github.com/dunglas/symfony-docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support requested
Projects
None yet
Development

No branches or pull requests

3 participants