Translate the following text to Russian. ONLY return the translated text and nothing…
- User
Translate the following text to Russian. ONLY return the translated text and nothing else.
Переведи и отформатируй
(Sorry about the answer - I don't yet have the rep to comment)
Just want to add a note on to the answer by D.Mo - I had the same error this morning, and adding quotes around the values in my .env file did seem to resolve the issue.
Though I then noticed that in the documentation for these env files, Docker mentions
There is no special handling of quotation marks. This means that they are part of the VAL.
Just wanted to point that out in case anyone ran into issues with this.
I will likely just keep this change locally until others in my team experience the same problem - unless someone can confirm that the ENV values should now have ""s around them.
FWIW I could not find a way to disable Docker Compose V2 (I'm on Arch, Docker v20.10.9) - docker-compose disable-v2 isn't a valid command for me (see here for what I assume is the (imo silly) reason).
- Assistant
(Извините за ответ - у меня еще нет репутации, чтобы комментировать)
Просто хочу добавить примечание к ответу D.Mo - у меня была та же ошибка сегодня утром, и добавление кавычек вокруг значений в моем файле .env, похоже, решило проблему.
Хотя затем я заметил, что в документации для этих файлов env Docker упоминает
Нет специальной обработки кавычек. Это означает, что они являются частью VAL.
Просто хотел на это обратить внимание, на случай если кто-то столкнется с этой проблемой.
Вероятно, я просто оставлю это изменение локально, пока другие в моей команде не столкнутся с той же проблемой - если только кто-то не сможет подтвердить, что значения ENV теперь должны иметь кавычки вокруг них.
Что касается личного мнения, я не смог найти способ отключить Docker Compose V2 (я на Arch, Docker v20.10.9) - команда docker-compose disable-v2 не является действительной для меня (смотрите здесь то, что я предполагаю, является (на мой взгляд, глупой) причиной).