在docker容器中运行IBM DOORS

时间:2017-03-27 14:59:00

标签: docker dockerfile

我已经设法在容器中安装IBM DOORS 9,这是我的Dockerfile:

FROM rational/doors:2.2
ENV REFRESHED_AT 27-03-2017

RUN yum install -y -q libstdc++.so.6 libuuid.so.1
RUN export DOORSHOME=/ibm/rational/doors/9.6.1.6/DOORS_Database_Server
RUN export SERVERDATA=/ibm/rationa/doors/data
RUN export PATH=$DOORSHOME/bin:$PATH
RUN export PORTNUMBER=36677
RUN export DOORSHOME SERVERDATA PATH PORTNUMBER DOORSDATA

EXPOSE 36677

WORKDIR /ibm/rational/doors/9.6.1.6/DOORS_Database_Server/bin
ENTRYPOINT ./doorsd

但是,如果我尝试运行它

docker run -d -p 36677  rational/doors:2.4

它在几秒钟后存在

docker ps -l
CONTAINER ID        IMAGE                COMMAND             CREATED             STATUS                     PORTS               NAMES
4a0b77173531        rational/doors:2.4   "/bin/bash"         7 seconds ago       Exited (0) 6 seconds ago                       festive_lovelace

我在这里缺少什么?如果我手动运行容器,一切都很完美。

0 个答案:

没有答案