Apple M1 workaround for Docker
You need a dedicated Linux machine (
linux-vm) (in the cloud or on your VPS, or bare-metal) with Docker installed and SSH enabled (required login using SSH keys).
Workaround for people who have SSH access to a docker installed linux machine
(Edit: there are no Darwin arm64 yet, You need to compile or use Homebrew...)
Open terminal and execute:
go get -u -v github.com/docker/cli/cmd/docker
Set a docker context
docker context create linux-vm --docker host=ssh://user@host
Switch to context:
docker context use linux-vm
Issue commands as you normally would...
Or you can directly use an environment variable: