Problem
Container.WithDefaultTerminalCommand allows configuring the command to be executed by Container.Terminal. But some execution options are not available:
| Option |
Description |
Available in withExec |
Available in withDefaultTerminalCmd |
experimentalPrivilegedNesting |
Allow the executed command to make API calls to the Dagger Engine running it |
✅ |
❌ |
insecureRootCapabilities |
Execute the command in a privileged linux container |
✅ |
❌ |
Solution
Add the missing arguments to Container.withDefaultTerminalCmd.
Problem
Container.WithDefaultTerminalCommandallows configuring the command to be executed byContainer.Terminal. But some execution options are not available:withExecwithDefaultTerminalCmdexperimentalPrivilegedNestinginsecureRootCapabilitiesSolution
Add the missing arguments to
Container.withDefaultTerminalCmd.