We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looking at current issues, this may be part of #290, but requires code changes, so I'm logging here.
Note: I was using the internal dev tool, but as far as I can tell this issue will occur for external users too.
dev
Docker Desktop version 3.6.0 (67351)
cd
dev up
docker-compose up -d
docker-compose up -d mysql-1 mysql-2
Nothing happens. Error displayed: (root) Additional property mysql-1 is not allowed
(root) Additional property mysql-1 is not allowed
mysql-1 and mysql-2 pulled and containers started. Tutorial can proceed.
mysql-1
mysql-2
This issue looks like it may be caused by a deprecated docker-compose.yml format/syntax: https://docs.docker.com/compose/compose-file/compose-versioning/#version-1-deprecated
docker-compose.yml
I was able to workaround and proceed by minimally changing docker-compose.yml to nest all entries under a top-level services: key:
services:
services: mysql-1: image: percona:5.7 command: --server-id=1 --log-bin=mysql-bin --max-binlog-size=4096 --binlog-format=ROW --sync-binlog=1 --log-slave-updates=ON --gtid-mode=ON --enforce-gtid-consistency=ON --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1000 --read-only=OFF --binlog-rows-query-log-events=ON environment: MYSQL_ALLOW_EMPTY_PASSWORD: "yes" volumes: - /var/lib/mysql ports: - "29291:3306" mysql-2: image: percona:5.7 command: --server-id=2 --log-bin=mysql-bin --binlog-format=ROW --max-binlog-size=4096 --sync-binlog=1 --log-slave-updates=ON --gtid-mode=ON --enforce-gtid-consistency=ON --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1000 --binlog-rows-query-log-events=ON environment: MYSQL_ALLOW_EMPTY_PASSWORD: "yes" volumes: - /var/lib/mysql ports: - "29292:3306" mysql-3: image: percona:5.7 command: --server-id=3 --log-bin=mysql-bin --binlog-format=ROW --max-binlog-size=4096 --sync-binlog=1 --log-slave-updates=ON --gtid-mode=ON --enforce-gtid-consistency=ON --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1000 --binlog-rows-query-log-events=ON environment: MYSQL_ALLOW_EMPTY_PASSWORD: "yes" volumes: - /var/lib/mysql ports: - "29293:3306"
The text was updated successfully, but these errors were encountered:
Should be fixed with #239.
Sorry, something went wrong.
No branches or pull requests
Looking at current issues, this may be part of #290, but requires code changes, so I'm logging here.
Note: I was using the internal
dev
tool, but as far as I can tell this issue will occur for external users too.Machine setup:
Docker Desktop version 3.6.0 (67351)
Steps
cd
to itdev up
,docker-compose up -d
, ordocker-compose up -d mysql-1 mysql-2
as part of first tutorial step ("Setup and Seed MySQL")Result
Nothing happens. Error displayed:
(root) Additional property mysql-1 is not allowed
Expected
mysql-1
andmysql-2
pulled and containers started. Tutorial can proceed.Findings + Workaround
This issue looks like it may be caused by a deprecated
docker-compose.yml
format/syntax:https://docs.docker.com/compose/compose-file/compose-versioning/#version-1-deprecated
I was able to workaround and proceed by minimally changing
docker-compose.yml
to nest all entries under a top-levelservices:
key:The text was updated successfully, but these errors were encountered: