Docker-images: WLST cannot be found on Windows7 (Docker Toolbox)

Created on 18 Apr 2017  路  2Comments  路  Source: oracle/docker-images

The dockerfile commands fail on this step on Windows 7 (Docker Toolbox - Docker Quickstart Terminal).
Line 60:
RUN /u01/oracle/wlst /u01/oracle/create-wls-domain.py

/bin/sh: /u01/oracle/wlst: /bin/sh^M: bad interpreter: No such file or directory
The command '/bin/sh -c /u01/oracle/wlst /u01/oracle/create-wls-domain.py' returned a non-zero code: 126

It seems that the WLST command is not compatible with either Docker Toolbox or Windows 7.

Most helpful comment

UPDATE: solved the issue by changing the reference location of the wlst utility in the dockerfile:

RUN /u01/oracle/oracle_common/common/bin/wlst.sh /u01/oracle/create-wls-domain.py && \

This change ran successfully for me.

All 2 comments

Full text of build.sh output attached.

build.txt

UPDATE: solved the issue by changing the reference location of the wlst utility in the dockerfile:

RUN /u01/oracle/oracle_common/common/bin/wlst.sh /u01/oracle/create-wls-domain.py && \

This change ran successfully for me.

Was this page helpful?
0 / 5 - 0 ratings