Closed shareauto closed 5 years ago
You should user /work/start_server script, it does some extra steps such piping output to docker logs
@arturdzm I did use "USER was" but even though it not kicking off the server. And I did change the CMD as
CMD /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1
but no luck.... :(
Here very simple docker file, no need to override CMD, unless you are changing to completely different script
FROM ibmcom/websphere-traditional
COPY hello.ear /work/config/app.ear
COPY script.py /work/config/script.py
COPY was-config.props /work/config/was-config.props
RUN /work/configure.sh
Closing for now, re-open if needed
The final step in my Docker file is
CMD ["/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1"]
It's not kicking off when I run the container. I have to log in to the container and have to start the server manually.
Is there anything I am missing?