Created
February 1, 2022 10:25
-
-
Save keydon/f4e2c57b8932cd6c1ab6b659f1cee096 to your computer and use it in GitHub Desktop.
Edit daemon.json for the docker-engine within rancher desktop on a mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# DISCLAIMER: I am not a mac person | |
# Sources: https://github.com/rancher-sandbox/rancher-desktop/issues/1330 | |
brew install lima | |
# Since brew is broken for me I fetched the limectl prebuilt binary from https://github.com/lima-vm/lima/releases/tag/v0.8.2 | |
export LIMA_HOME=~/Library/Application\ Support/rancher-desktop/lima | |
# Note the following commands, only work when the env var is set | |
limactl ls | |
limactl shell 0 | |
sudo vi /etc/docker/daemon.json | |
# Quit and Start Rancher Desktop again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment