(CommandList
  children: [
    (C {(set)} {(-e)})
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:IMAGE)
              op: Equal
              rhs: {(DQ ($ VSub_Number "$1"))}
              spids: [19]
            )
          ]
          spids: [19]
        )
      terminator: <Op_Semi ";">
    )
    (C {(shift)})
    (C {(cd)} {(/tmp)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:EXCLUDE)
          op: Equal
          rhs: 
            {
              (DQ ("--exclude .dockerenv --exclude Dockerfile ") 
                ("        --exclude dev/console --exclude dev/pts --exclude dev/shm ") ("        --exclude etc/hostname --exclude etc/hosts --exclude etc/mtab --exclude etc/resolv.conf")
              )
            }
          spids: [36]
        )
      ]
      spids: [36]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:CONTAINER)
          op: Equal
          rhs: 
            {
              (DQ 
                (CommandSubPart
                  command_list: 
                    (CommandList
                      children: [(C {(docker)} {(create)} {($ VSub_Name "$IMAGE")} {(/dev/null)})]
                    )
                  left_token: <Left_CommandSub "$(">
                  spids: [48 56]
                )
              )
            }
          spids: [46]
        )
      ]
      spids: [46]
    )
    (Pipeline
      children: [
        (C {(docker)} {(export)} {(DQ ($ VSub_Name "$CONTAINER"))})
        (C {(tar)} {(-xf)} {(-)} {($ VSub_Name "$EXCLUDE")})
      ]
      negated: False
    )
    (SimpleCommand
      words: [{(docker)} {(rm)} {(DQ ($ VSub_Name "$CONTAINER"))}]
      redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[85])]
    )
    (C {(mkdir)} {(-p)} {(etc)})
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (HereDoc
          op_id: Redir_DLess
          fd: -1
          body: 
            {
              (DQ ("127.0.0.1\tlocalhost\n") ("::1\tlocalhost ip6-localhost ip6-loopback\n") 
                ("fe00::0\tip6-localnet\n") ("ff00::0\tip6-mcastprefix\n") ("ff02::1\tip6-allnodes\n") ("ff02::2\tip6-allrouters\n")
              )
            }
          do_expansion: True
          here_end: EOF
          was_filled: True
          spids: [103]
        )
        (Redir op_id:Redir_Great fd:-1 arg_word:{(etc/hosts)} spids:[107])
      ]
    )
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (HereDoc
          op_id: Redir_DLess
          fd: -1
          body: 
            {
              (DQ ("nameserver 8.8.8.8\n") ("nameserver 8.8.4.4\n") 
                ("nameserver 2001:4860:4860::8888\n") ("nameserver 2001:4860:4860::8844\n")
              )
            }
          do_expansion: True
          here_end: EOF
          was_filled: True
          spids: [120]
        )
        (Redir op_id:Redir_Great fd:-1 arg_word:{(etc/resolv.conf)} spids:[124])
      ]
    )
    (SimpleCommand
      words: [{(printf)} {(SQ <linuxkit>)}]
      redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(etc/hostname)} spids:[139])]
    )
    (C {(ln)} {(-s)} {(/proc/mounts)} {(etc/mtab)})
    (C {(tar)} {(cf)} {(-)} {(.)})
  ]
)