mreynolds / pagure-importer

Forked from pagure-importer 7 years ago
Clone

0c72a9b Create a local user within the docker container

Authored and Committed by pingou 7 years ago
1 file changed. 2 lines added. 0 lines removed.
    Create a local user within the docker container
    
    The idea is that we are mounting the ssh keys from the user running the
    container into the container and in Fedora, that user will have the UID
    1000, so these keys won't be available inside the container which is by
    default ran as root.
    
    So let's create a local user within the container, it will have the UID
    1000 and thus mounting the ssh keys will work.
    Note that this will not work if the user running the container does not
    have the same UID.
    
        
file modified
+2 -0