I’m new to docker. I need to have an image that has Watson Content Analytics installed. this is the silent install that installs Watson. On AIX or Linux
_./install.bin -i silent -f responseFiles/LinuxMasterDistributedServer.properties
It requires Websphere application server as prerequisite. I have tried the image “ibmcom/websphere-traditional:profile” from docker hub, that has the WAS server, it went well. I just need to create the dockerfile that includes
From ibmcom/websphere-traditional:profile
then run “./install.bin -i silent -f responseFiles/LinuxMasterDistributedServer.properties”?
but how to run? I cann’t find any info on how to run .bin file in docker. Is it to use “CMD” command?
A .bin is just an arbitrary extension. In Linux, it’s whether its an executable or a script with an interpretor.
Normally when you go to install software when working with Docker, you’ll want to do it during the docker build step. This means you’ll use the RUN instruction in the Dockerfile. The CMD instruction designates the process that should run after the image is built and you want to launch a container.