How to run amd64 docker image on arm64 host platform?

Using –platform is correct. On my M1 Mac I’m able to run both arm64 and amd64 versions of the Ubuntu image from Docker Hub. The machine hardware name provided by uname proves it. # docker run –rm -ti –platform linux/arm/v7 ubuntu:latest uname -m armv7l # docker run –rm -ti –platform linux/amd64 ubuntu:latest uname -m x86_64 … Read more

How can I run a docker windows container on osx?

I know I am late to the party but as of 2021, this is the easiest setup to get a windows container running on macOS: https://github.com/StefanScherer/windows-docker-machine Install vagrant and virtual box Clone the repository above and change directory into it vagrant up –provider virtualbox 2019-box docker context use 2019-box I followed this setup and I … Read more

Puppeteer/chromium on Mac chronically prompting “accept incoming network connection?”

We were having the same issue after upgrade our puppeteer and MacOS. One solution we have is to instruct puppeteer to use our own Chrome instead of the bundled chromium by specifying the executablePath. Below is a Typescript snippet how we specify it. Same thing if you use vanilla JS. Sometimes that still is not … Read more

How to start Docker for Mac daemon on boot?

TL;DR Running Docker for Mac as a standalone service is not supported. Instead run Docker in a VirtualBox VM, either by creating a plain VM or using docker-machine. Then set the Virtualbox VM up to run at boot. This is the LaunchAgent I use for Virtualbox: <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)