ibmcom/mq docker image backward compatibility issue

此生再无相见时 提交于 2020-05-17 06:56:26

问题


I was using docker image ibmcom/mq . My compose file was:

FROM ibmcom/mq
USER root
# create another client user
# default is app without password
RUN useradd user1 -G mqclient && \
echo user1:passwd | chpasswd

Then suddenly it was stopped working when I build latest image again.

Error is :

useradd: group 'mqclient' does not exist
ERROR: Service 'mq' failed to build: The command '/bin/sh -c useradd user1 -G mqclient &&     echo user1:passwd | chpasswd' returned a non-zero code: 6

Now compose is not working with latest image(9.1.5.0-r1) version but works with old version e.g. 9.1.4.0-r1

Can anyone suggest what is the alternative

来源:https://stackoverflow.com/questions/61373195/ibmcom-mq-docker-image-backward-compatibility-issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!