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).

Podman

iptables errors - chain already exists when starting container

This can happen on Alpine if using tailscale and upgrading to 1.76.6 or newer, as it now defaults to using nftables, conflicting with podman's default of using iptables. The fix is to ensure nftables is actually enabled by running rc-update add nftables default and then service nftables start, followed by editing /etc/containers/containers.conf and changing #firewall_driver = “” to firewall_driver = “nftables”. Then reboot.

Navigation
  • Home