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 для меня не является действительной (см. здесь, по моему предположению, (имхо глупую) причину).