title: Writing a startup script to google container engine
body: <p>I found that <strong>startup scripts</strong> can be added to <strong>Google compute instances</strong> using either the <strong>console</strong> or <strong>cli(gcloud).</strong> I want to add the <strong>startup scripts</strong> to <strong>google container engine.</strong> </p>
  
  <p>The <strong>goal</strong> is to <strong>notify</strong> me when the google container engine has changed its state to <strong>Running</strong>. I though one efficient way is to use startup scripts in container engine, as these scripts will only be executed when the container's status is changed to running.</p>
  
  <p>Any idea how to add startup scripts to container engine or any other way of notifying when the container's status changes to running.</p>