Launch any container image with Zed running inside the container (rather than running on the host and connecting to the container).
Requires podman to be installed, and for the current user to be able to subgid the render group.
Untested outside of my system, use at your own risk!
Instructions:
- Build the Zed contiainer (
podman build . -t zed-portable) - Build the extension builder container (
cd extension-builder && podman build . -t zed-extension-builder) - Modify
build_extensions.shto add your extensions and language servers and run it. - Create your own settings.json file; see the settings.example.json file for some useful settings.
- Call the
zedrun.shscript with the same arguments you would use forpodman run(--rmis assumed). For example,./zedrun.sh -it alpine:latest.