Get absolute path on host for container PID's executable

Solution 1:

Merged directory can be easily extracted with that command: mergeddir=$(docker inspect container_name | grep merged | cut -f 4 -d '"')

Next, concatenate $mergeddir with executable path to get what you want.