[
https://issues.apache.org/jira/browse/HDDS-6326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718382#comment-17718382
]
Neil Joshi commented on HDDS-6326:
----------------------------------
[~smeng] , while preparing the patch I tried the latest docker-compose v2 and
it appears to resolve our issue. Using V2, [https://github.com/docker/compose]
version 2.17.3 I have no issues bringing up ozone docker dev clusters. The
docker-config and docker-compose yaml files properly parsed.
Whereas before V2 ~ 2.13 produced the following parsing errors on
{code:java}
$ozone/hadoop-ozone/dist/target/ozone-1.4.0-SNAPSHOT/compose/ozone
docker-compose up -d
unexpected character "-" in variable name near
"CORE-SITE.XML_fs.defaultFS=ofs://om\nCORE-SITE.XML_fs.trash.interval=1\
{code}
now, with v2.17.3 there are no problems. Try it out and we can resolve this
issue pointing out to use v2.17.3 of docker compose.
> Docker Compose v2 Compatiblity
> ------------------------------
>
> Key: HDDS-6326
> URL: https://issues.apache.org/jira/browse/HDDS-6326
> Project: Apache Ozone
> Issue Type: Task
> Components: docker
> Reporter: Siyao Meng
> Assignee: Neil Joshi
> Priority: Critical
>
> Currently most docker-compose.yaml / docker-config files aren't compatible
> with Docker Compose v2, due to the widely used "-" in docker-config files.
> It would be great to work around this, by either:
> 1) Wrap around conf XML addition lines with double quotes (would this work?)
> 2) Replace "-" with something else compatible
> Thoughts?
> CC [~adoroszlai]
> Note: Also update wiki page accordingly
> https://cwiki.apache.org/confluence/display/OZONE/Ozone+Docker+images
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]