Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi there, I ran the installation command
symfony new guestbook --version=6.0 --php=8.1 --webapp --docker --cloud
as mentionned in this page :
https://symfony.com/doc/6.0/the-fast-track/fr/3-zero.html#initialiser-le-projet

My Symfony CLI version is 4.28.1

But I get this error :

Incorrect usage: flag provided but not defined: -docker

Indeed "--docker" is not listed in the possible options. Is there a way to go around this error and still install the project properly ?
I removed the --docker option and the project is installed, but will this cause any further errors ?

You must be logged in to vote

Hi,

The docker flag has been added in the release 5.2, according to changelog.
If you have opportunity to upgrade your Symfony CLI it should work fine

Replies: 2 comments · 2 replies

Comment options

Hi,

The docker flag has been added in the release 5.2, according to changelog.
If you have opportunity to upgrade your Symfony CLI it should work fine

You must be logged in to vote
1 reply
@amelielecoz
Comment options

Thank you MrYamous, indeed, with Symfony CLI 5.2, it works fine !

Answer selected by amelielecoz
Comment options

Hello Amelie. J'ai le même problème que tu as rencontré. Peux-tu stp me dire comment tu as procédé ? Merci d'avance et bonne journée à toi.

You must be logged in to vote
1 reply
@amelielecoz
Comment options

Bonjour Nicolas, mon Symfony CLI n'était pas à jour (version 4.2 de mémoire), je l'ai simplement mis à jour vers la version 5.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.