The reason I need to give folder ownership to UID 1000 is to make sure Docker container can write to the mounted volume based on this answer.
But the answer assumes reader knows how to change ownership. I don't know. After some research, I know how to change ownership with this, but can't make it work.
chown UID 1000 /u ./jenkins_home
My above command doesn't work. How do I change ownership to UID 1000???
The accepted answer does explain how to change ownership.
The correct command would be chown 1000 ./jenkins_home
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With