Inside VM, determine the IP address of the docker container:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id
Container ID would be a hash string like f9bb667e8d59
.
Next, shell into a running Docker container on your VM: