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

  • Multi command with docker in a script
  • Docker Solr: Cannot index local data folder
  • Docker set ipaddress and start services
  • Docker and pip requirements
  • Docker java .jar won't run
  • Hazelcast in Docker in boot2docker “Error while fetching cluster partition table”
  • Backup stateful docker volume
  • Deploy a Docker image without using a repository
  • Remote selenium on Docker does not handle Javascript correctly
  • CannotStartContainerError with node:6.7.0-wheezy on AWS
  • Docker tomcat 7 - welcome page access forbidden
  • Oracle Java in Docker Container cannot resolve hostname after /etc/nsswitch.conf changed
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.