Cant run VIM or NANO in Splunk Container

Hi!
I am new to docker doman. Still learning . Just for my learning purposes . I installed Docker on Ubuntu installed docker Splunk image . All working fine But for setup I need to get to file located at

/opt/splunk/system/default/Authrize.conf

I already got shell using using the command
docker exec -i -t c2bd58c2e628 bash

I see this promt
[ansible@c2bd58c2e628 splunk]$

However I can go to file path but when try to edit it using VIM or NANO it shows error -
bash: vim: command not found and once try to install using command.
yum install vim or vim-tiny shows errror too
bash: yum: command not found

This is OS-Relase of shell I got from cat /etc/os-release command

Any help appreciated thanks

Hello , Thanks a lot I tried sudo vi authorize.conf it opened vi editor but not letting me edit the file showing this error once I change value abd try :wq to save the file

It already states what to do: use :wq!