title: How to install Stackdriver monitoring agent in Google Container VM images?
body: <p>I followed this instruction
  <a href="https://cloud.google.com/monitoring/agent/install-agent#linux-install" rel="noreferrer">https://cloud.google.com/monitoring/agent/install-agent#linux-install</a></p>
  
  <pre><code>$ curl -O "https://repo.stackdriver.com/stack-install.sh"
  $ sudo bash stack-install.sh --write-gcm
  Unidentifiable or unsupported platform.
  </code></pre>
  
  <p>The content of /etc/os-release.</p>
  
  <pre><code>$ cat /etc/os-release
  BUILD_ID=8820.0.0
  NAME="Container-VM Image"
  GOOGLE_CRASH_ID=Lakitu
  VERSION_ID=55
  BUG_REPORT_URL=https://crbug.com/new
  PRETTY_NAME="Google Container-VM Image"
  VERSION=55
  GOOGLE_METRICS_PRODUCT_ID=26
  HOME_URL="https://cloud.google.com/compute/docs/containers/vm-image/"
  ID=gci
  </code></pre>
  
  <p><a href="https://cloud.google.com/compute/docs/containers/vm-image/faq#what_is_the_software_package_manager_for_container-vm_image" rel="noreferrer">https://cloud.google.com/compute/docs/containers/vm-image/faq#what_is_the_software_package_manager_for_container-vm_image</a></p>
  
  <blockquote>
    <p>In order to update a particular package, the entire OS image needs to be updated</p>
  </blockquote>
  
  <p>So, it seems that we must wait till update for a stackdriver agent installed version of  image or give it up.</p>
  
  <p>Also this vm image is not my choice. Newly created GKE nodes use Container-VM images by default. So for now I'll try to create nodes via <code>gcloud container node-pools create --image-type</code></p>