Commit c3dfbd5
committed
cmd/docker: instance the main context in main()
Explicitly create the context and set it on the CLI, instead of depending on
NewDockerCli() to instance a default context.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>1 parent 1443014 commit c3dfbd5
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
0 commit comments