Get docker container info and generate nginx config.