DockerCmd executes the specified docker command and expect a success
(t testing.TB, args ...string)
| 27 | |
| 28 | // DockerCmd executes the specified docker command and expect a success |
| 29 | func DockerCmd(t testing.TB, args ...string) *icmd.Result { |
| 30 | t.Helper() |
| 31 | return Docker(Args(args...)).Assert(t, icmd.Success) |
| 32 | } |
| 33 | |
| 34 | // BuildCmd executes the specified docker build command and expect a success |
| 35 | func BuildCmd(t testing.TB, name string, cmdOperators ...CmdOperator) *icmd.Result { |
searching dependent graphs…