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

  • Nginx dockerized accessing host IIS website on a given port
  • how to migrate docker private registry to a new server
  • How to setup sockets on docker-compose version 2?
  • ?Docker commit -run '— deprecated, will be removed soon , how to replace
  • Automount / NFS Problems with Rancher Network
  • Can I build a docker image from an existing database container?
  • Reduce memory consumption in rake assets:precompile
  • Dokku recognizes my Node.js app as Go app on deploy
  • Dynamically change image tag on deploy
  • How to downloaded from remote location and execute script on container start Docker?
  • AttributeError: module 'wagtail.wagtailadmin.edit_handlers' has no attribute 'FieldPanel'
  • docker run, docker exec and logs
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.