Docker Community Forums

Share and learn in the Docker community.

COPY does not restore file ownership

(Amathur) #1

I created an image where I used COPY command to copy a directory. The COPY command does not restore the file ownership and default all ownership to root. Is there any way to preserve ownership of the files ??

(Amathur) #2

Anyone from docker team looking at this ?