title: Error running file in Container "error when loading shared libraries" DOCKER
body: <p>So I am building an image from a dockerfile, using the COPY command to copy a local file from host into my container. After the image is build I run an interactive shell, and test my file which I copied and am having an error. </p>
  
  <p>Here is my shell information.</p>
  
  <pre><code>arcolombo@arcolombo:~/Documents/bedgraph_dockerfile$ sudo docker info
  Containers: 18
  Images: 72
  Storage Driver: aufs
   Root Dir: /var/lib/docker/aufs
   Dirs: 108
  Execution Driver: native-0.2
  Kernel Version: 3.16.0-33-generic
  Username: arcolombo
  Registry: [https://index.docker.io/v1/]
  WARNING: No swap limit support
  </code></pre>
  
  <p>Here is my docker file</p>
  
  <pre><code>FROM ubuntu
  MAINTAINER anthonycolombo60@gmail.com
  COPY software /bin
  </code></pre>
  
  <p>Note that under my directory where my Dockerfile is contained, I placed my "software" directory, which has a bedWiggle executable in the Dockerfile's context, so it does get loaded into my new container of which my image creates.</p>
  
  <p>This shows the successful completion of the image</p>
  
  <pre><code>arcolombo@arcolombo:~/Documents/bed_dockerfile$ sudo docker build        -t="arcolombo" .
  Sending build context to Docker daemon   2.7 MB
  Sending build context to Docker daemon 
  Step 0 : FROM ubuntu
  ---&gt; d0955f21bf24
  Step 1 : MAINTAINER anthonycolombo60@gmail.com
    ---&gt; Using cache
    ---&gt; 5el36a81f34
       Step 2 : COPY software /bin
   ---&gt; Using cache
   ---&gt; 1llhh2e278683ea
  Successfully built 1hhfjjeea
  </code></pre>
  
  <p>Yet I get the error when I enter the container built by the above image and running my executable</p>
  
  <p>root@hhhlf75hhhhfcb87ccfa:/bin# ./bedWigggle 
  ./bedWiggle: error while loading shared libraries: libkrb5.so.3: cannot open shared object file: No such file or directory</p>