<p>poststarthookerror: <strong>command 'gcsfuse -o nonempty config_files_1_bucket /home/test123/' exited with 126</strong>
I am adding the gcs fuse command in my yaml file like</p>
<p>lifecycle:</p>
<pre><code>      postStart:
        exec:
          command:
          - gcsfuse
          - -o
          - nonempty
          - config_files_1_bucket
          - /home/test123
      preStop:
        exec:
          command:
          - fusermount
          - -u
          - /home/test123
</code></pre>

Lakshay Narang
<p>same here. It used to work (on gcsfuse version 0.28.1) but i does not anymore (0.32.0). The fact is that they removed support of the nonempty option (<a href="https://github.com/appsembler/roles/pull/85" rel="nofollow noreferrer">https://github.com/appsembler/roles/pull/85</a>) because it is not more supported in fusermount v3.0
Simply remove the nonempty option and it should work.</p>
<p>More here : <a href="https://github.com/GoogleCloudPlatform/gcsfuse/issues/424" rel="nofollow noreferrer">https://github.com/GoogleCloudPlatform/gcsfuse/issues/424</a></p>
