Docker Phantomjs driver access

I have one docker container, its spring-boot application. From this docker container I want to access local phantomjs driver. When I run my container in docker, it gives ‘The driver executable does not exist: /usr/bin/phantomjs’ exception but my phantomjs driver is exist under this path.
How does this docker container can access ‘/usr/bin/phantomjs’ file?
Should I add this line VOLUME /usr/bin/phantomjs in docker file ?
phantomjs version is : 2.1.1

  • Debugging Drupal on docker container using Atom
  • Path is not writable within container
  • X509 parsing error, 'negative serial number' while pulling repository
  • Docker Compose - Logstash - exited with code 0 after start
  • Docker procedure - treat local copy as staging server?
  • Airflow inside docker running a docker container
  • Building a docker image using AWS Developer Tools
  • creating a docker image with nginx compile options for Optional HTTP modules
  • how to sync mac local directory with native docker container?
  • Docker hangs on the RUN command OSX
  • Extend Existing Docker Image
  • Can Docker application container run without OS
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.