I installed Docker Desktop on my new Macbook Pro M1. I switched from a 16" Intel Macbook Pro. I installed the latest version of Docker Desktop and when I try and launch a container on my Macbook, I get a kernel panic window and the stdout in the CLI is:
13:41:18-cachedrive@mac-183:~$ docker run \ > -d \ > -m 4g \ > --cpus=2 \ > --name=db1 \ > -e PGDATA=/var/lib/postgresql/data \ > -v db1:/var/lib/postgresql/data \ > -p 5432:5432/tcp \ > --restart=unless-stopped \ > postgres cb1abac27fc55a27c454a7d5cda0714cce8226368fcd3292371afffce11e2a63 docker: Error response from daemon: Bad response from Docker engine. ERRO error waiting for container: invalid character 'u' looking for beginning of value
Anyone know how I can get containers to run on my Macbook Pro? Not sure if this is due to my new M1 arm based CPU but imagine it does as it worked fine on my Intel Macbook Pro prior to switching.