ibmcom/mq docker image backward compatibility issue

后端 未结 1 755
孤独总比滥情好
孤独总比滥情好 2021-01-26 04:54

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 use         


        
相关标签:
1条回答
  • 2021-01-26 05:32

    From 9.1.5 the container does not use OS based users or groups. This is to conform to cloud best practices. Instead a file based system is being used. This is so that when you roll-out the container in a cloud into production you can switch to an LDAP based system.

    The 9.1.5 container uses htpasswd, with the relevant file in /etc/mqm/

    For development, if you are not going to create new users, then you can use the 9.1.5 container. If you want to create new users, then you can use 9.1.4 or earlier, or use htpasswd with bcrypt to create the users.

    0 讨论(0)
提交回复
热议问题