B
B
bio2016-02-29 17:40:57
Docker
bio, 2016-02-29 17:40:57

How to set the required user when mounting in docker?

Hello.
I'm trying to mount the authorized_keys file to the /root/.ssh/ folder, but the group and user are set to 1000. I understand that this is because the file in the host machine is under the user.
How to change user on mount?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question