Closed dungba88 closed 5 years ago
@dungba88
Your question actually doesn't have anything to do with our image or archiva - in general, docker images shouldn't execute tasks as the root user or have sudo/su installed. So, what you're seeing is expected.
To your specific question, there is no root password. If you'd like to execute commands as the root user, use the docker exec
command specifying the --user
flag as root
. (See https://docs.docker.com/engine/reference/commandline/exec/)
However, you probably shouldn't be editing configuration files in this image by hand. If you need to configure something differently in the image you should either...
JETTY_CONFIG_PATH
Hi
I wanted to install an editor (vim/nano) to change the configuration (disable the password expiration), but
sudo
is not installed. Alsosu
required a password. Please tell me what the password is.