Commit 2a27bdd
authored
Trigger pull explictly if needed (#184)
fixes #179
The pull option was set as the default that will cause to download the latest version when it is available, which is not desired as discussed in #179. In most cases, users want to keep on using the image they pulled in the first place. The new version of image download has better happened when explicitly triggered by setting pull.
This commit first makes --no-pull the default of --pull/no-pull option. The pull logic tweaks a bit so that when the image does not exist, it will anyway trigger the pull. If the image exists, the --pull needs to be set to trigger the pull.1 parent 3fa83bf commit 2a27bdd
1 file changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
345 | 347 | | |
346 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
347 | 352 | | |
348 | 353 | | |
349 | 354 | | |
| |||
506 | 511 | | |
507 | 512 | | |
508 | 513 | | |
509 | | - | |
| 514 | + | |
510 | 515 | | |
511 | 516 | | |
512 | 517 | | |
| |||
0 commit comments