Docker Community Forums

Share and learn in the Docker community.

How to edit tomcat-users.xml on docker tomcat


Can anyone help with a way to open and edit file /usr/local/tomcat/conf/tomcat-users.xml
Which command will open file in editing mode?

You would have to install VIM.
the following commands can be used to install it

apt-get update
apt-get install vim

After this, you may use vi to edit the xml
vi conf/tomcat-users.xml

1 Like