itzg/minecraft-server docker container with pterodactyl

Has anyone had a success running itzg/minecraft-server docker container under pterodactyl's egg configuration? I cant seem to successfully mount /data directory to default /home/container directory, since its being used by pterodactyl (and it doesnt allow mounting that directory)? Is there any way to get around this?
Was this page helpful?