Error installed Deadline in a Docker Container

I’m trying to get Docker installed in a Docker container. I get this error. I haven’t been able to determine the command the installer is trying to execute. I

Centos7 is the base image.

If I switch to a new shell, I have no trouble executing /tmp/repoinstalltemp/mongo/mongodb-linux-x86_64-rhel70-4.2.12/bin/mongod

Any suggestions on what the command being executed is or how to fix this?

Do you wish to continue installing MongoDB in the specified directory? [Y/n]: y

Warning: Error running file 
/tmp/repoinstalltemp/mongo/mongodb-linux-x86_64-rhel70-4.2.12/bin/mongod: 
/bin/sh: file: command not found
Press [Enter] to continue:

Thanks,

Jesse

What shell is the container starting in?

The container is running Bash

Seems to me that the daemon needs the file command, but it is not available in the shell. Which I guess should not be possible. Could you post your dockerfile (maybe redacted)?

At this point, my dockerfile is empty except for the image line:

FROM centos:centos7

I do a volume bind to access the installer and the manually run:

DeadlineRepository-10.1.20.3-linux-x64-installer.run --unattendedmodeui minimal --mode unattended --installmongodb true --dbLicenseAcceptance accept --debuglevel 4

I had also tried starting with FROM mongo:4.4.13 but I couldn’t get the Deadline repo installer to autheneticate with MongoDB (I turned authentication off). I had no problems accessing mongo outside of the installer.

I tried switching to debian (stretch) and I get this error:

There has been an error.
We were unable to verify the contents of the MongoDB Installer. Please see the Troubleshooting section of
our “Database and Repository Installation (Advanced)” documentation page for a path forward. https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/install-db-repo.html

I think I was able to getting it to work (using debian) by supplying the binary installer for MongoDB and installing curl file bzip2

Oh, I guess on CentOS you have to install these separately… then just add them as dependencies in the dockerfile.