The latest preview version of Docker-Preview7 brings support for the M1 chip. Document the installation process.

First of all to preview release page to download address: https://desktop.docker.com/ma…

There are a number of issues with this release, such as not having automatic updates, not being able to run without Rosetta 2, and in particular not being able to support MySQL mirroring, which of course we can use MariaDB.

After downloading, open it directly, click the Docker icon and drag it into the application folder to complete the installation.

After installation, Docker can be opened

Try installing a Laradock

$CD ~ $git clone https://github.com/Laradock/laradock.git $CD laradock $git checkout - b v11.0 $cp env - example. The env

Modify the configuration file according to your own habits

$ docker-compose up -d nginx

Over time

Creating laradock_docker-in-docker_1 ... done Creating laradock_workspace_1 ... done Creating laradock_php-fpm_1 ... done Creating laradock_nginx_1 ... done docker-compose ps -a Name Command State Ports ------------------------------------------------------------------------------------------------------------------------ ---- laradock_docker-in-docker_1 dockerd-entrypoint.sh Up 2375/tcp, 2376/tcp laradock_nginx_1 /docker-entrypoint.sh /bin ... The Up 0.0.0.0:443 - > 443 / TCP, 0.0.0.0:80 - > 80 / TCP, 0.0.0.0:81->81/ TCP laradock_php-fpm_1 docker-php-entryPoint php-fpm Up 9000/ TCP laradock_workspace_1 /sbin/my_init Up 0.0.0.0:2222 - > 22 / TCP, 0.0.0.0:3000 - > 3000 / TCP, 0.0.0.0:3001 - > 3001 / TCP, 0.0.0.0:4200 - > 4200 / TCP, 0.0.0.0:8001 - > 8000 / TCP, 0.0.0.0:8080 - > 8080 / TCP

Browser type http://localhost and it works perfectly