how to change UID of user in image/pod
I launched Retool software in Openshift. I have error in pod: “user running container is not the expected user, retool_user (uid 1001) in retool_user_group (gid 1001)”. Pod has different UID 1001260000. As I understood Retool requires user – retool_user & group – retool_user_group. I changed GID in Dockerfile with command “RUN groupmod -g 1001260000 retool_user_group”, but i cant change UID with command “RUN usermod -u 1001260000 retool_user”. Docker build is running but doesnt finish this command. In logs I see:
how to change UID of user when building Docker image
I launched Retool software in Openshift. I have error in pod: “user running container is not the expected user, retool_user (uid 1001) in retool_user_group (gid 1001)”. Pod has different UID 1001260000. As I understood Retool requires user – retool_user & group – retool_user_group. I changed GID in Dockerfile with command “RUN groupmod -g 1001260000 retool_user_group”, but i cant change UID with command “RUN usermod -u 1001260000 retool_user”. Docker build is running but doesnt finish this command. I see “RUN usermod -u 1001260000 retool_user. => exporting to image. => => exporting layers” in logs. How to solve this problem?
how to change UID of user when building Docker image
I launched Retool software in Openshift. I have error in pod: “user running container is not the expected user, retool_user (uid 1001) in retool_user_group (gid 1001)”. Pod has different UID 1001260000. As I understood Retool requires user – retool_user & group – retool_user_group. I changed GID in Dockerfile with command “RUN groupmod -g 1001260000 retool_user_group”, but i cant change UID with command “RUN usermod -u 1001260000 retool_user”. Docker build is running but doesnt finish this command. I see “RUN usermod -u 1001260000 retool_user. => exporting to image. => => exporting layers” in logs. How to solve this problem?
how to set different user in image
I launched Retool software in Openshift. I have error in pod: “user running container is not the expected user, retool_user (uid 1001) in retool_user_group (gid 1001)”. Pod has different UID 1001260000. As I understood Retool requires user – retool_user & group – retool_user_group. I changed GID in Dockerfile with command “RUN groupmod -g 1001260000 retool_user_group”, but i cant change UID with command “RUN usermod -u 1001260000 retool_user”. Docker build is running but doesnt finish this command. I see “RUN usermod -u 1001260000 retool_user. => exporting to image. => => exporting layers” in logs. How to solve this problem?