This is an old revision of the document!


Misc notes

Stuff I want to make a note of that doesn't fit anywhere else.

Rancher Desktop

Mounts not working

This can happen when you're mounting from somewhere outside of /Users/$UNAME or /tmp/rancher-desktop. It may manifest as mounts showing up as empty directories/folders when they should be files, or filled folders. MySQL containers will exit with the message ERROR: Can't initialize batch_readline - may be the input source is a directory or a block device.

To fix, quit Rancher Desktop, then go to Library/Application Support/rancher-desktop/lima/_config and create a file, overrides.yaml, with the following content:

overrides.yaml
mounts:
- location: /path/to/your/data
  writable: true

Open up Rancher Desktop again and recreate your problem container(s).

Navigation
  • Home