The vim-enhanced package needs to be present in the container or container image.
vim-enhanced
Vim (Vi IMproved) is an almost compatible version of the UNIX editor vi.