I recently tried out the Chef Docker container at: https://hub.docker.com/r/chef/chef/
I downloaded it and ran the container using the following commands:
docker pull "chef/chef:12.19.33"
docker run -i -t --name test1 chef/chef:12.19.33
Inside the container, none of the Chef/Knife binaries work. The error says "not found". This is strange. Here is an example of the commands I used:
/ # ls -ltr /opt/chef/bin/knife
-rwxr-xr-x 1 root root 1599 Feb 16 19:28 /opt/chef/bin/knife
/ # /opt/chef/bin/knife
sh: /opt/chef/bin/knife: not found
Does anyone know what is going on? I tried older Chef containers and still got the same issue. I also tried running Docker on other machines.