(command.CommandList
  children: [
    (C {<set>} {<-e>})
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'IMAGE='> name:IMAGE)
                  op: assign_op.Equal
                  rhs: {(DQ ($ Id.VSub_Number 1))}
                  spids: [19]
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (C {<shift>})
      ]
    )
    (C {<cd>} {<'/tmp'>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'EXCLUDE='> name:EXCLUDE)
          op: assign_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]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'CONTAINER='> name:CONTAINER)
          op: assign_op.Equal
          rhs: 
            {
              (DQ 
                (command_sub
                  left_token: <Id.Left_DollarParen '$('>
                  child: (C {<docker>} {<create>} {($ Id.VSub_DollarName IMAGE)} {<'/dev/null'>})
                  right: <Id.Eof_RParen _>
                )
              )
            }
          spids: [46]
        )
      ]
      redirects: []
    )
    (command.Pipeline
      children: [
        (C {<docker>} {<export>} {(DQ ($ Id.VSub_DollarName CONTAINER))})
        (C {<tar>} {<-xf>} {<->} {($ Id.VSub_DollarName EXCLUDE)})
      ]
      negated: F
      stderr_indices: []
    )
    (command.Simple
      words: [{<docker>} {<rm>} {(DQ ($ Id.VSub_DollarName CONTAINER))}]
      redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>})]
      more_env: []
      do_fork: T
    )
    (C {<mkdir>} {<-p>} {<etc>})
    (command.Simple
      words: [{<cat>}]
      redirects: [
        (redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {<EOF>}
              here_end_span_id: 118
              stdin_parts: [
                <'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'>
              ]
            )
        )
        (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'etc/hosts'>})
      ]
      more_env: []
      do_fork: T
    )
    (command.Simple
      words: [{<cat>}]
      redirects: [
        (redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {<EOF>}
              here_end_span_id: 135
              stdin_parts: [
                <'nameserver 8.8.8.8\n'>
                <'nameserver 8.8.4.4\n'>
                <'nameserver 2001:4860:4860::8888\n'>
                <'nameserver 2001:4860:4860::8844\n'>
              ]
            )
        )
        (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'etc/resolv.conf'>})
      ]
      more_env: []
      do_fork: T
    )
    (command.Simple
      words: [{<printf>} {(SQ <linuxkit>)}]
      redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'etc/hostname'>})]
      more_env: []
      do_fork: T
    )
    (C {<ln>} {<-s>} {<'/proc/mounts'>} {<'etc/mtab'>})
    (C {<tar>} {<cf>} {<->} {<.>})
  ]
)