...

Text file src/github.com/Microsoft/hcsshim/internal/tools/policyenginesimulator/samples/simple_framework/commands.json

Documentation: github.com/Microsoft/hcsshim/internal/tools/policyenginesimulator/samples/simple_framework

     1[
     2    {
     3        "name": "load_fragment",
     4        "input": {
     5            "feed": "contoso.azurecr.io/infra",
     6            "issuer": "did:web:contoso.com",
     7            "namespace": "fragment",
     8            "local_path": "relative/path/to/local/fragment.rego"
     9        }
    10    },
    11    {
    12        "name": "exec_external",
    13        "input": {
    14            "argList": [
    15                "bash"
    16            ],
    17            "envList": [
    18                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    19            ],
    20            "workingDir": "/"
    21        }
    22    },
    23    {
    24        "name": "mount_device",
    25        "input": {
    26            "deviceHash": "1b80f120dbd88e4355d6241b519c3e25290215c469516b49dece9cf07175a766",
    27            "target": "/run/layers/p0-layer0"
    28        }
    29    },
    30    {
    31        "name": "mount_device",
    32        "input": {
    33            "deviceHash": "e769d7487cc314d3ee748a4440805317c19262c7acd2fdbdb0d47d2e4613a15c",
    34            "target": "/run/layers/p0-layer1"
    35        }
    36    },
    37    {
    38        "name": "mount_device",
    39        "input": {
    40            "deviceHash": "eb36921e1f82af46dfe248ef8f1b3afb6a5230a64181d960d10237a08cd73c79",
    41            "target": "/run/layers/p0-layer2"
    42        }
    43    },
    44    {
    45        "name": "mount_device",
    46        "input": {
    47            "deviceHash": "41d64cdeb347bf236b4c13b7403b633ff11f1cf94dbc7cf881a44d6da88c5156",
    48            "target": "/run/layers/p0-layer3"
    49        }
    50    },
    51    {
    52        "name": "mount_device",
    53        "input": {
    54            "deviceHash": "4dedae42847c704da891a28c25d32201a1ae440bce2aecccfa8e6f03b97a6a6c",
    55            "target": "/run/layers/p0-layer4"
    56        }
    57    },
    58    {
    59        "name": "mount_device",
    60        "input": {
    61            "deviceHash": "fe84c9d5bfddd07a2624d00333cf13c1a9c941f3a261f13ead44fc6a93bc0e7a",
    62            "target": "/run/layers/p0-layer5"
    63        }
    64    },
    65    {
    66        "name": "mount_overlay",
    67        "input": {
    68            "containerID": "container0",
    69            "layerPaths": [
    70                "/run/layers/p0-layer0",
    71                "/run/layers/p0-layer1",
    72                "/run/layers/p0-layer2",
    73                "/run/layers/p0-layer3",
    74                "/run/layers/p0-layer4",
    75                "/run/layers/p0-layer5"
    76            ],
    77            "target": "/run/gcs/c/container0/rootfs"
    78        }
    79    },
    80    {
    81        "name": "scratch_mount",
    82        "input": {
    83            "encrypted": true,
    84            "target": "/mnt/layer6"
    85        }
    86    },
    87    {
    88        "name": "create_container",
    89        "input": {
    90            "argList": [
    91                "rustc",
    92                "--help"
    93            ],
    94            "capabilities": {
    95                "ambient": [
    96                    "CAP_SYS_ADMIN"
    97                ],
    98                "bounding": [
    99                    "CAP_SYS_ADMIN"
   100                ],
   101                "effective": [
   102                    "CAP_SYS_ADMIN"
   103                ],
   104                "inheritable": [
   105                    "CAP_SYS_ADMIN"
   106                ],
   107                "permitted": [
   108                    "CAP_SYS_ADMIN"
   109                ]
   110            },
   111            "containerID": "container0",
   112            "envList": [
   113                "CARGO_HOME=/usr/local/cargo",
   114                "RUST_VERSION=1.52.1",
   115                "TERM=xterm",
   116                "PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   117                "RUSTUP_HOME=/usr/local/rustup"
   118            ],
   119            "groups": [
   120                {
   121                    "id": "0",
   122                    "name": "root"
   123                }
   124            ],
   125            "hugePagesDir": "/run/gcs/c/sandbox0/hugepages",
   126            "mounts": [
   127                {
   128                    "destination": "/container/path/one",
   129                    "options": [
   130                        "rbind",
   131                        "rshared",
   132                        "rw"
   133                    ],
   134                    "source": "/run/gcs/c/sandbox0/sandboxMounts/host/path/one",
   135                    "type": "bind"
   136                },
   137                {
   138                    "destination": "/container/path/two",
   139                    "options": [
   140                        "rbind",
   141                        "rshared",
   142                        "ro"
   143                    ],
   144                    "source": "/run/gcs/c/sandbox0/sandboxMounts/host/path/two",
   145                    "type": "bind"
   146                }
   147            ],
   148            "noNewPrivileges": true,
   149            "privileged": false,
   150            "sandboxDir": "/run/gcs/c/sandbox0/sandboxMounts",
   151            "seccompProfileSHA256": "",
   152            "umask": "0022",
   153            "user": {
   154                "id": "0",
   155                "name": "root"
   156            },
   157            "workingDir": "/home/user"
   158        }
   159    },
   160    {
   161        "name": "exec_in_container",
   162        "input": {
   163            "argList": [
   164                "top"
   165            ],
   166            "containerID": "container0",
   167            "envList": [
   168                "CARGO_HOME=/usr/local/cargo",
   169                "RUST_VERSION=1.52.1",
   170                "TERM=xterm",
   171                "PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   172                "RUSTUP_HOME=/usr/local/rustup"
   173            ],
   174            "workingDir": "/home/user"
   175        }
   176    },
   177    {
   178        "name": "shutdown_container",
   179        "input": {
   180            "containerID": "container0"
   181        }
   182    },
   183    {
   184        "name": "scratch_unmount",
   185        "input": {
   186            "unmountTarget": "/mnt/layer6"
   187        }
   188    },
   189    {
   190        "name": "unmount_overlay",
   191        "input": {
   192            "unmountTarget": "/run/gcs/c/container0/rootfs"
   193        }
   194    },
   195    {
   196        "name": "unmount_device",
   197        "input": {
   198            "unmountTarget": "/run/layers/p0-layer0"
   199        }
   200    },
   201    {
   202        "name": "unmount_device",
   203        "input": {
   204            "unmountTarget": "/run/layers/p0-layer1"
   205        }
   206    },
   207    {
   208        "name": "unmount_device",
   209        "input": {
   210            "unmountTarget": "/run/layers/p0-layer2"
   211        }
   212    },
   213    {
   214        "name": "unmount_device",
   215        "input": {
   216            "unmountTarget": "/run/layers/p0-layer3"
   217        }
   218    },
   219    {
   220        "name": "unmount_device",
   221        "input": {
   222            "unmountTarget": "/run/layers/p0-layer4"
   223        }
   224    },
   225    {
   226        "name": "unmount_device",
   227        "input": {
   228            "unmountTarget": "/run/layers/p0-layer5"
   229        }
   230    },
   231    {
   232        "name": "mount_device",
   233        "input": {
   234            "deviceHash": "1b80f120dbd88e4355d6241b519c3e25290215c469516b49dece9cf07175a766",
   235            "target": "/run/layers/p0-layer7"
   236        }
   237    },
   238    {
   239        "name": "mount_device",
   240        "input": {
   241            "deviceHash": "e769d7487cc314d3ee748a4440805317c19262c7acd2fdbdb0d47d2e4613a15c",
   242            "target": "/run/layers/p0-layer8"
   243        }
   244    },
   245    {
   246        "name": "mount_device",
   247        "input": {
   248            "deviceHash": "eb36921e1f82af46dfe248ef8f1b3afb6a5230a64181d960d10237a08cd73c79",
   249            "target": "/run/layers/p0-layer9"
   250        }
   251    },
   252    {
   253        "name": "mount_device",
   254        "input": {
   255            "deviceHash": "41d64cdeb347bf236b4c13b7403b633ff11f1cf94dbc7cf881a44d6da88c5156",
   256            "target": "/run/layers/p0-layer10"
   257        }
   258    },
   259    {
   260        "name": "mount_device",
   261        "input": {
   262            "deviceHash": "4dedae42847c704da891a28c25d32201a1ae440bce2aecccfa8e6f03b97a6a6c",
   263            "target": "/run/layers/p0-layer11"
   264        }
   265    },
   266    {
   267        "name": "mount_device",
   268        "input": {
   269            "deviceHash": "fe84c9d5bfddd07a2624d00333cf13c1a9c941f3a261f13ead44fc6a93bc0e7a",
   270            "target": "/run/layers/p0-layer12"
   271        }
   272    },
   273    {
   274        "name": "mount_overlay",
   275        "input": {
   276            "containerID": "container1",
   277            "layerPaths": [
   278                "/run/layers/p0-layer7",
   279                "/run/layers/p0-layer8",
   280                "/run/layers/p0-layer9",
   281                "/run/layers/p0-layer10",
   282                "/run/layers/p0-layer11",
   283                "/run/layers/p0-layer12"
   284            ],
   285            "target": "/run/gcs/c/container1/rootfs"
   286        }
   287    },
   288    {
   289        "name": "scratch_mount",
   290        "input": {
   291            "encrypted": true,
   292            "target": "/mnt/layer13"
   293        }
   294    },
   295    {
   296        "name": "create_container",
   297        "input": {
   298            "argList": [
   299                "rustc",
   300                "--help"
   301            ],
   302            "capabilities": {
   303                "ambient": [
   304                    "CAP_SYS_ADMIN"
   305                ],
   306                "bounding": [
   307                    "CAP_SYS_ADMIN"
   308                ],
   309                "effective": [
   310                    "CAP_SYS_ADMIN"
   311                ],
   312                "inheritable": [
   313                    "CAP_SYS_ADMIN"
   314                ],
   315                "permitted": [
   316                    "CAP_SYS_ADMIN"
   317                ]
   318            },
   319            "containerID": "container1",
   320            "envList": [
   321                "PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   322                "RUSTUP_HOME=/usr/local/rustup",
   323                "CARGO_HOME=/usr/local/cargo",
   324                "RUST_VERSION=1.52.1",
   325                "TERM=xterm"
   326            ],
   327            "groups": [
   328                {
   329                    "id": "0",
   330                    "name": "root"
   331                }
   332            ],
   333            "hugePagesDir": "/run/gcs/c/sandbox1/hugepages",
   334            "mounts": [
   335                {
   336                    "destination": "/container/path/one",
   337                    "options": [
   338                        "rbind",
   339                        "rshared",
   340                        "rw"
   341                    ],
   342                    "source": "/run/gcs/c/sandbox1/sandboxMounts/host/path/one",
   343                    "type": "bind"
   344                },
   345                {
   346                    "destination": "/container/path/two",
   347                    "options": [
   348                        "rbind",
   349                        "rshared",
   350                        "ro"
   351                    ],
   352                    "source": "/run/gcs/c/sandbox1/sandboxMounts/host/path/two",
   353                    "type": "bind"
   354                }
   355            ],
   356            "noNewPrivileges": true,
   357            "privileged": true,
   358            "sandboxDir": "/run/gcs/c/sandbox1/sandboxMounts",
   359            "seccompProfileSHA256": "",
   360            "umask": "0022",
   361            "user": {
   362                "id": "0",
   363                "name": "root"
   364            },
   365            "workingDir": "/home/user"
   366        }
   367    },
   368    {
   369        "name": "exec_in_container",
   370        "input": {
   371            "argList": [
   372                "top"
   373            ],
   374            "containerID": "container1",
   375            "envList": [
   376                "PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   377                "RUSTUP_HOME=/usr/local/rustup",
   378                "CARGO_HOME=/usr/local/cargo",
   379                "RUST_VERSION=1.52.1",
   380                "TERM=xterm"
   381            ],
   382            "workingDir": "/home/user"
   383        }
   384    },
   385    {
   386        "name": "shutdown_container",
   387        "input": {
   388            "containerID": "container1"
   389        }
   390    },
   391    {
   392        "name": "scratch_unmount",
   393        "input": {
   394            "unmountTarget": "/mnt/layer13"
   395        }
   396    },
   397    {
   398        "name": "unmount_overlay",
   399        "input": {
   400            "unmountTarget": "/run/gcs/c/container1/rootfs"
   401        }
   402    },
   403    {
   404        "name": "unmount_device",
   405        "input": {
   406            "unmountTarget": "/run/layers/p0-layer7"
   407        }
   408    },
   409    {
   410        "name": "unmount_device",
   411        "input": {
   412            "unmountTarget": "/run/layers/p0-layer8"
   413        }
   414    },
   415    {
   416        "name": "unmount_device",
   417        "input": {
   418            "unmountTarget": "/run/layers/p0-layer9"
   419        }
   420    },
   421    {
   422        "name": "unmount_device",
   423        "input": {
   424            "unmountTarget": "/run/layers/p0-layer10"
   425        }
   426    },
   427    {
   428        "name": "unmount_device",
   429        "input": {
   430            "unmountTarget": "/run/layers/p0-layer11"
   431        }
   432    },
   433    {
   434        "name": "unmount_device",
   435        "input": {
   436            "unmountTarget": "/run/layers/p0-layer12"
   437        }
   438    },
   439    {
   440        "name": "mount_device",
   441        "input": {
   442            "deviceHash": "16b514057a06ad665f92c02863aca074fd5976c755d26bff16365299169e8415",
   443            "target": "/run/layers/p0-layer14"
   444        }
   445    },
   446    {
   447        "name": "mount_overlay",
   448        "input": {
   449            "containerID": "container2",
   450            "layerPaths": [
   451                "/run/layers/p0-layer14"
   452            ],
   453            "target": "/run/gcs/c/container2/rootfs"
   454        }
   455    },
   456    {
   457        "name": "scratch_mount",
   458        "input": {
   459            "encrypted": true,
   460            "target": "/mnt/layer15"
   461        }
   462    },
   463    {
   464        "name": "create_container",
   465        "input": {
   466            "argList": [
   467                "/pause"
   468            ],
   469            "capabilities": null,
   470            "containerID": "container2",
   471            "envList": [
   472                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   473                "TERM=xterm"
   474            ],
   475            "groups": [
   476                {
   477                    "id": "0",
   478                    "name": "root"
   479                }
   480            ],
   481            "hugePagesDir": "/run/gcs/c/sandbox2/hugepages",
   482            "mounts": [],
   483            "noNewPrivileges": true,
   484            "privileged": false,
   485            "sandboxDir": "/run/gcs/c/sandbox2/sandboxMounts",
   486            "seccompProfileSHA256": "",
   487            "umask": "0022",
   488            "user": {
   489                "id": "0",
   490                "name": "root"
   491            },
   492            "workingDir": "/"
   493        }
   494    },
   495    {
   496        "name": "shutdown_container",
   497        "input": {
   498            "containerID": "container2"
   499        }
   500    },
   501    {
   502        "name": "scratch_unmount",
   503        "input": {
   504            "unmountTarget": "/mnt/layer15"
   505        }
   506    },
   507    {
   508        "name": "unmount_overlay",
   509        "input": {
   510            "unmountTarget": "/run/gcs/c/container2/rootfs"
   511        }
   512    },
   513    {
   514        "name": "unmount_device",
   515        "input": {
   516            "unmountTarget": "/run/layers/p0-layer14"
   517        }
   518    },
   519    {
   520        "name": "mount_device",
   521        "input": {
   522            "deviceHash": "16b514057a06ad665f92c02863aca074fd5976c755d26bff16365299169e8415",
   523            "target": "/run/layers/p0-layer16"
   524        }
   525    },
   526    {
   527        "name": "mount_overlay",
   528        "input": {
   529            "containerID": "container3",
   530            "layerPaths": [
   531                "/run/layers/p0-layer16"
   532            ],
   533            "target": "/run/gcs/c/container3/rootfs"
   534        }
   535    },
   536    {
   537        "name": "scratch_mount",
   538        "input": {
   539            "encrypted": true,
   540            "target": "/mnt/layer17"
   541        }
   542    },
   543    {
   544        "name": "create_container",
   545        "input": {
   546            "argList": [
   547                "/pause"
   548            ],
   549            "capabilities": null,
   550            "containerID": "container3",
   551            "envList": [
   552                "TERM=xterm",
   553                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
   554            ],
   555            "groups": [
   556                {
   557                    "id": "0",
   558                    "name": "root"
   559                }
   560            ],
   561            "hugePagesDir": "/run/gcs/c/sandbox3/hugepages",
   562            "mounts": [],
   563            "noNewPrivileges": true,
   564            "privileged": true,
   565            "sandboxDir": "/run/gcs/c/sandbox3/sandboxMounts",
   566            "seccompProfileSHA256": "",
   567            "umask": "0022",
   568            "user": {
   569                "id": "0",
   570                "name": "root"
   571            },
   572            "workingDir": "/"
   573        }
   574    },
   575    {
   576        "name": "shutdown_container",
   577        "input": {
   578            "containerID": "container3"
   579        }
   580    },
   581    {
   582        "name": "scratch_unmount",
   583        "input": {
   584            "unmountTarget": "/mnt/layer17"
   585        }
   586    },
   587    {
   588        "name": "unmount_overlay",
   589        "input": {
   590            "unmountTarget": "/run/gcs/c/container3/rootfs"
   591        }
   592    },
   593    {
   594        "name": "unmount_device",
   595        "input": {
   596            "unmountTarget": "/run/layers/p0-layer16"
   597        }
   598    },
   599    {
   600        "name": "mount_device",
   601        "input": {
   602            "deviceHash": "1b80f120dbd88e4355d6241b519c3e25290215c469516b49dece9cf07175a766",
   603            "target": "/run/layers/p0-layer18"
   604        }
   605    },
   606    {
   607        "name": "mount_device",
   608        "input": {
   609            "deviceHash": "e769d7487cc314d3ee748a4440805317c19262c7acd2fdbdb0d47d2e4613a15c",
   610            "target": "/run/layers/p0-layer19"
   611        }
   612    },
   613    {
   614        "name": "mount_device",
   615        "input": {
   616            "deviceHash": "eb36921e1f82af46dfe248ef8f1b3afb6a5230a64181d960d10237a08cd73c79",
   617            "target": "/run/layers/p0-layer20"
   618        }
   619    },
   620    {
   621        "name": "mount_device",
   622        "input": {
   623            "deviceHash": "41d64cdeb347bf236b4c13b7403b633ff11f1cf94dbc7cf881a44d6da88c5156",
   624            "target": "/run/layers/p0-layer21"
   625        }
   626    },
   627    {
   628        "name": "mount_device",
   629        "input": {
   630            "deviceHash": "4dedae42847c704da891a28c25d32201a1ae440bce2aecccfa8e6f03b97a6a6c",
   631            "target": "/run/layers/p0-layer22"
   632        }
   633    },
   634    {
   635        "name": "mount_device",
   636        "input": {
   637            "deviceHash": "fe84c9d5bfddd07a2624d00333cf13c1a9c941f3a261f13ead44fc6a93bc0e7a",
   638            "target": "/run/layers/p0-layer23"
   639        }
   640    },
   641    {
   642        "name": "mount_overlay",
   643        "input": {
   644            "containerID": "container4",
   645            "layerPaths": [
   646                "/run/layers/p0-layer18",
   647                "/run/layers/p0-layer19",
   648                "/run/layers/p0-layer20",
   649                "/run/layers/p0-layer21",
   650                "/run/layers/p0-layer22",
   651                "/run/layers/p0-layer23"
   652            ],
   653            "target": "/run/gcs/c/container4/rootfs"
   654        }
   655    },
   656    {
   657        "name": "scratch_mount",
   658        "input": {
   659            "encrypted": true,
   660            "target": "/mnt/layer24"
   661        }
   662    },
   663    {
   664        "name": "create_container",
   665        "input": {
   666            "argList": [
   667                "rustc",
   668                "--version"
   669            ],
   670            "capabilities": null,
   671            "containerID": "container4",
   672            "envList": [
   673                "PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   674                "RUSTUP_HOME=/usr/local/rustup",
   675                "CARGO_HOME=/usr/local/cargo",
   676                "RUST_VERSION=1.52.1",
   677                "TERM=xterm"
   678            ],
   679            "groups": [
   680                {
   681                    "id": "0",
   682                    "name": "root"
   683                }
   684            ],
   685            "hugePagesDir": "/run/gcs/c/sandbox4/hugepages",
   686            "mounts": [],
   687            "noNewPrivileges": true,
   688            "privileged": false,
   689            "sandboxDir": "/run/gcs/c/sandbox4/sandboxMounts",
   690            "seccompProfileSHA256": "",
   691            "umask": "0022",
   692            "user": {
   693                "id": "0",
   694                "name": "root"
   695            },
   696            "workingDir": "/home/fragment"
   697        }
   698    },
   699    {
   700        "name": "exec_in_container",
   701        "input": {
   702            "argList": [
   703                "bash"
   704            ],
   705            "containerID": "container4",
   706            "envList": [
   707                "PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   708                "RUSTUP_HOME=/usr/local/rustup",
   709                "CARGO_HOME=/usr/local/cargo",
   710                "RUST_VERSION=1.52.1",
   711                "TERM=xterm"
   712            ],
   713            "workingDir": "/home/fragment"
   714        }
   715    },
   716    {
   717        "name": "shutdown_container",
   718        "input": {
   719            "containerID": "container4"
   720        }
   721    },
   722    {
   723        "name": "scratch_unmount",
   724        "input": {
   725            "unmountTarget": "/mnt/layer24"
   726        }
   727    },
   728    {
   729        "name": "unmount_overlay",
   730        "input": {
   731            "unmountTarget": "/run/gcs/c/container4/rootfs"
   732        }
   733    },
   734    {
   735        "name": "unmount_device",
   736        "input": {
   737            "unmountTarget": "/run/layers/p0-layer18"
   738        }
   739    },
   740    {
   741        "name": "unmount_device",
   742        "input": {
   743            "unmountTarget": "/run/layers/p0-layer19"
   744        }
   745    },
   746    {
   747        "name": "unmount_device",
   748        "input": {
   749            "unmountTarget": "/run/layers/p0-layer20"
   750        }
   751    },
   752    {
   753        "name": "unmount_device",
   754        "input": {
   755            "unmountTarget": "/run/layers/p0-layer21"
   756        }
   757    },
   758    {
   759        "name": "unmount_device",
   760        "input": {
   761            "unmountTarget": "/run/layers/p0-layer22"
   762        }
   763    },
   764    {
   765        "name": "unmount_device",
   766        "input": {
   767            "unmountTarget": "/run/layers/p0-layer23"
   768        }
   769    },
   770    {
   771        "name": "mount_device",
   772        "input": {
   773            "deviceHash": "1b80f120dbd88e4355d6241b519c3e25290215c469516b49dece9cf07175a766",
   774            "target": "/run/layers/p0-layer25"
   775        }
   776    },
   777    {
   778        "name": "mount_device",
   779        "input": {
   780            "deviceHash": "e769d7487cc314d3ee748a4440805317c19262c7acd2fdbdb0d47d2e4613a15c",
   781            "target": "/run/layers/p0-layer26"
   782        }
   783    },
   784    {
   785        "name": "mount_device",
   786        "input": {
   787            "deviceHash": "eb36921e1f82af46dfe248ef8f1b3afb6a5230a64181d960d10237a08cd73c79",
   788            "target": "/run/layers/p0-layer27"
   789        }
   790    },
   791    {
   792        "name": "mount_device",
   793        "input": {
   794            "deviceHash": "41d64cdeb347bf236b4c13b7403b633ff11f1cf94dbc7cf881a44d6da88c5156",
   795            "target": "/run/layers/p0-layer28"
   796        }
   797    },
   798    {
   799        "name": "mount_device",
   800        "input": {
   801            "deviceHash": "4dedae42847c704da891a28c25d32201a1ae440bce2aecccfa8e6f03b97a6a6c",
   802            "target": "/run/layers/p0-layer29"
   803        }
   804    },
   805    {
   806        "name": "mount_device",
   807        "input": {
   808            "deviceHash": "fe84c9d5bfddd07a2624d00333cf13c1a9c941f3a261f13ead44fc6a93bc0e7a",
   809            "target": "/run/layers/p0-layer30"
   810        }
   811    },
   812    {
   813        "name": "mount_overlay",
   814        "input": {
   815            "containerID": "container5",
   816            "layerPaths": [
   817                "/run/layers/p0-layer25",
   818                "/run/layers/p0-layer26",
   819                "/run/layers/p0-layer27",
   820                "/run/layers/p0-layer28",
   821                "/run/layers/p0-layer29",
   822                "/run/layers/p0-layer30"
   823            ],
   824            "target": "/run/gcs/c/container5/rootfs"
   825        }
   826    },
   827    {
   828        "name": "scratch_mount",
   829        "input": {
   830            "encrypted": true,
   831            "target": "/mnt/layer31"
   832        }
   833    },
   834    {
   835        "name": "create_container",
   836        "input": {
   837            "argList": [
   838                "rustc",
   839                "--version"
   840            ],
   841            "capabilities": null,
   842            "containerID": "container5",
   843            "envList": [
   844                "PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   845                "RUSTUP_HOME=/usr/local/rustup",
   846                "CARGO_HOME=/usr/local/cargo",
   847                "RUST_VERSION=1.52.1",
   848                "TERM=xterm"
   849            ],
   850            "groups": [
   851                {
   852                    "id": "0",
   853                    "name": "root"
   854                }
   855            ],
   856            "hugePagesDir": "/run/gcs/c/sandbox5/hugepages",
   857            "mounts": [],
   858            "noNewPrivileges": true,
   859            "privileged": true,
   860            "sandboxDir": "/run/gcs/c/sandbox5/sandboxMounts",
   861            "seccompProfileSHA256": "",
   862            "umask": "0022",
   863            "user": {
   864                "id": "0",
   865                "name": "root"
   866            },
   867            "workingDir": "/home/fragment"
   868        }
   869    },
   870    {
   871        "name": "exec_in_container",
   872        "input": {
   873            "argList": [
   874                "bash"
   875            ],
   876            "containerID": "container5",
   877            "envList": [
   878                "PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
   879                "RUSTUP_HOME=/usr/local/rustup",
   880                "CARGO_HOME=/usr/local/cargo",
   881                "RUST_VERSION=1.52.1",
   882                "TERM=xterm"
   883            ],
   884            "workingDir": "/home/fragment"
   885        }
   886    },
   887    {
   888        "name": "shutdown_container",
   889        "input": {
   890            "containerID": "container5"
   891        }
   892    },
   893    {
   894        "name": "scratch_unmount",
   895        "input": {
   896            "unmountTarget": "/mnt/layer31"
   897        }
   898    },
   899    {
   900        "name": "unmount_overlay",
   901        "input": {
   902            "unmountTarget": "/run/gcs/c/container5/rootfs"
   903        }
   904    },
   905    {
   906        "name": "unmount_device",
   907        "input": {
   908            "unmountTarget": "/run/layers/p0-layer25"
   909        }
   910    },
   911    {
   912        "name": "unmount_device",
   913        "input": {
   914            "unmountTarget": "/run/layers/p0-layer26"
   915        }
   916    },
   917    {
   918        "name": "unmount_device",
   919        "input": {
   920            "unmountTarget": "/run/layers/p0-layer27"
   921        }
   922    },
   923    {
   924        "name": "unmount_device",
   925        "input": {
   926            "unmountTarget": "/run/layers/p0-layer28"
   927        }
   928    },
   929    {
   930        "name": "unmount_device",
   931        "input": {
   932            "unmountTarget": "/run/layers/p0-layer29"
   933        }
   934    },
   935    {
   936        "name": "unmount_device",
   937        "input": {
   938            "unmountTarget": "/run/layers/p0-layer30"
   939        }
   940    }
   941]

View as plain text