ExecInnerContainer runs a command in the inner container.
(t *testing.T, pool *dockertest.Pool, conf ExecConfig)
| 269 | |
| 270 | // ExecInnerContainer runs a command in the inner container. |
| 271 | func ExecInnerContainer(t *testing.T, pool *dockertest.Pool, conf ExecConfig) ([]byte, error) { |
| 272 | t.Helper() |
| 273 | |
| 274 | conf.Cmd = append([]string{"docker", "exec", "workspace_cvm"}, conf.Cmd...) |
| 275 | return ExecEnvbox(t, pool, conf) |
| 276 | } |
| 277 | |
| 278 | // ExecEnvbox runs a command in the outer container. |
| 279 | func ExecEnvbox(t *testing.T, pool *dockertest.Pool, conf ExecConfig) ([]byte, error) { |