I am using the bash operator in order to schedule a container to run on a compute instance.
gcloud beta compute instances create-with-container airflow-vm --zone us-central1-a --container-image gcr.io/cloud-marketplace/google/image-which-does-calculations:1.0
The container automatically starts a process to do some calculations. How Can I detect that the process has completed it's calculations?