3 ms·
For Apple's own `container`[1], just remove the `--platform linux/arm64` part, like this: container run -it --rm -v "$(pwd):/workspace" ghcr.io/simonw/alpine
by None4U 1y ago
For Apple's own `container`[1], just remove the `--platform linux/arm64` part, like this:
container run -it --rm -v "$(pwd):/workspace" ghcr.io/simonw/alpine-edit
I did have to resize my terminal for this to work, but that could be a terminal emulator issue.
[1] https://github.com/apple/container https://github.com/apple/container
- commandersaki 1y agoThis was harder to quit than vim. ctrl-f didn't work and there's no alt on my keyboard; hard pass.
- da_chicken 1y agoI don't understand. You don't have an option key, either? Or are you not on a Mac, PC, or Chromebook?
- commandersaki 1y agoOn a macbook pro, option key just gave me a ƒ symbol, both in Terminal.app and Ghostty. Anyways, if that was meant to be alt and it requires setup to work, then it's not worth the effort.
- Aaron2222 1y agoTerminal.app has a setting "Use Option as Meta Key" that needs to be enabled. It's under the Edit menu as well as in Settings > Profiles > Keyboard (if you want, you can click use Command-A to select all the profiles to apply the change to all of them at once). Ghostty will have a similar option. Also surprised you haven't encountered this earlier, given it affects all usage of Alt in the terminal.
- commandersaki 1y agoNever had a reason to use alt or F-keys; I deliberately avoid them because they're not easily accessible by all terminals. Only programs I've seen these days use it are emacs and this edit program.