open-nomad/drivers/docker
Mahmood Ali 6b216a6015 tests: pin busybox image to a specific point tag
Using `:latest` tag is typically a cause of pain, as underlying image
changes behavior.  Here, I'm switching to using a point release, and
re-updating the stored tarballs with it.

Sadly, when saving/loading images, the repo digeset is not supported:
https://github.com/moby/moby/issues/22011 ; but using point releases
should mitigate the problem.

The motivation here is that docker tests have some flakiness due to
accidental importing of `busybox:latest` which has `/bin/nc` that no
longer supports `-p 0`:

```
$ docker run -it --rm busybox /bin/nc -l 127.0.0.1 -p 0
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:2a03a6059f21e150ae84b0973863609494aad70f0a80eaeb64bddd8d92465812
Status: Downloaded newer image for busybox:latest
nc: bad local port '0'
```

Looks like older busybox versions (e.g. `busybox:1.24` do honor `-p 0`
as the test expect, but I would rather update busybox to fix.
2018-12-15 15:03:56 -05:00
..
docklog modify fingerprint interface to use typed attribute struct 2018-11-28 10:01:03 -06:00
test-resources/docker tests: pin busybox image to a specific point tag 2018-12-15 15:03:56 -05:00
config.go refactor device manipulation 2018-12-04 20:55:59 -05:00
coordinator.go
coordinator_test.go
driver.go drivers/docker: enforce volumes.enabled (#4983) 2018-12-11 14:22:50 -05:00
driver_default.go
driver_linux_test.go
driver_test.go tests: pin busybox image to a specific point tag 2018-12-15 15:03:56 -05:00
driver_unix_test.go
driver_windows.go
fingerprint.go Fix docker driver to use new fingerprint typed attributes 2018-11-28 10:01:03 -06:00
handle.go client: Merge driver/shared/structs and client/structs 2018-11-30 10:56:45 +01:00
progress.go
progress_test.go
state.go
utils.go drivers/docker: enforce volumes.enabled (#4983) 2018-12-11 14:22:50 -05:00
utils_test.go drivers/docker: enforce volumes.enabled (#4983) 2018-12-11 14:22:50 -05:00