Host '172.18.0.13' is not allowed to connect to this MySQL server

I’m trying to install Maple in a brand new Ubuntu 20.04 Desktop virtualbox instance.

I’ve installed docker and docker-compose. I then installed version 13.3.1 of the tutor binary.

Running tutor local quickstart ran for a bit but then failed with this error:

[+] Running 1/1
 ⠿ Container tutor_local-mysql-1  Recreated                                                                                                              10.7s
[+] Running 1/1
 ⠿ Container tutor_local-mysql-1  Started                                                                                                                 1.1s
Initialising MySQL...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'mysql' (111)
    [1/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [2/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [3/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [4/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [5/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [6/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [7/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [8/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [9/10] Waiting for MySQL service (this may take a while)...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '172.18.0.13' is not allowed to connect to this MySQL server
    [10/10] Waiting for MySQL service (this may take a while)...
MySQL initialisation error

Running tutor local init results in the same error.

Thanks in advance for your help.

The issue was the version of docker-compose I had installed. When I had installed version 2.11.2. When I installed version 1.29.2, and reran tutor local quickstart, everything worked.