github.com/rish1988/moby@v25.0.2+incompatible/api/types/configs.go (about)

     1  package types // import "github.com/docker/docker/api/types"
     2  
     3  // ExecConfig is a small subset of the Config struct that holds the configuration
     4  // for the exec feature of docker.
     5  type ExecConfig struct {
     6  	User         string   // User that will run the command
     7  	Privileged   bool     // Is the container in privileged mode
     8  	Tty          bool     // Attach standard streams to a tty.
     9  	ConsoleSize  *[2]uint `json:",omitempty"` // Initial console size [height, width]
    10  	AttachStdin  bool     // Attach the standard input, makes possible user interaction
    11  	AttachStderr bool     // Attach the standard error
    12  	AttachStdout bool     // Attach the standard output
    13  	Detach       bool     // Execute in detach mode
    14  	DetachKeys   string   // Escape keys for detach
    15  	Env          []string // Environment variables
    16  	WorkingDir   string   // Working directory
    17  	Cmd          []string // Execution commands and args
    18  }