Domino container image use a different editor than vi
Daniel Nashed – 5 June 2025 23:01:58
This came up in a discussion at Engage conference.
The functionality is not new but maybe not well known.
I am personally a big fan of vi, because I use it since the early days of Linux.
But there are other editors like nano or mcedit from Midnight Commander (MC).
Not all distributions come with all editors available.
For example UBI does have nano included but no MC.
The container image supports adding any type of package available on the distribution.
Here is a command-line example how to install nano at build time:
-linuxpkg=nano
Once an alternate editor is installed, you can set environment variables in dominoctl (dominoctl env) passed to the running container.
The editor command all involved scripts support is
EDIT_COMMAND=nano
I just added another option which many Linux tools support:
EDITOR=nano
EDIT_COMMAND is checked first. If not set the EDITOR command is check.
If nothing is specified "vi" is used.
This option provides an easy way to customize the container image.
Sadly not every additional package is available on UBI.
Depending on which command you want to install (for example ncdu) Ubuntu could be the better choice.
-from=ubuntu
selects the latest Ubuntu LTS version as the base image for your Domino container image.
- Comments [0]