-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot update or change config manualy #64
Comments
export TERM=vt100 would bring piece of those commands needing term |
I use my own build based off Jenkins that gives sudo rights to the jenkins user. The Dockerfile looks like:
|
You should not update .war file, but just change the docker image version you run. |
BTW, I want to install some of the other tools using root or sudo but when i try to login i get the error "su: must be run from a terminal" . How can i get rid of this issues? |
Write a Dockerfile to extend the jenkins one:
|
FWIW, I was able to work around this (needed to install some tools) by using |
This worked for me docker exec -u root -it [container_id] bash |
lol. ty |
Thanks @gbonk worked a treat |
Drop global HOME environment variable
When access to jenking container example via exec bash enviroment
need root privileges but is not possible.
docker exec -it [container_id] bash
Example there is no sudo or su to root user does not work
su command gives error
su: must be run from a terminal
Sudo or root access is need for make config manualy or update .war file to
container.
The text was updated successfully, but these errors were encountered: