add 'log4j2.formatMsgNoLookups=true' to deal with the vulnerability of log4j2:2.14.1
把Dockerfile放到一个目录,同时把编译好的bdcluster.zip放到同一目录,并解压、制作镜像:
Dockerfile
bdcluster.zip
unzip -d ./bdserver/ bdcluster.zip docker build -t bdware/bdcluster .