Commit graph

4 commits

Author SHA1 Message Date
Felix Abecassis 7dbc2cafec Attempt to be compatible with newer versions of Docker
Previously, nvidia-docker aborted if it detected a version of Docker
more recent than the one it supports. In hindsight, this provided
little benefits since the list of flags has now become quite stable,
and it forced our users to frequently update nvidia-docker manually,
because nvidia-docker is not available on a public package repository.

This problem is exacerbated now that Docker is on a monthly release schedule:
https://github.com/docker/docker/pull/31075
We don't want to generate new packages every month.

Thus, if the version of Docker detected by nvidia-docker is newer than
its latest known Docker version, we will use the boolean flags of this
latest known version.
2017-02-27 15:16:42 -08:00
Felix Abecassis 94377628bd Add support for boolean option --init
Closes: #295
2017-02-27 13:56:52 -08:00
Felix Abecassis 25a18f513b Print log of image pull to stderr
Closes: #310
2017-02-27 13:56:45 -08:00
Felix Abecassis 3422bca272 Move sources to the top-level of the repository 2017-02-06 13:39:25 -08:00
Renamed from tools/src/docker/docker.go (Browse further)