Add dynamic discovery for Docker and Kubernetes (#175)