Commit graph

396 commits

Author SHA1 Message Date
Felix Abecassis e7b792253f Allow images to be run using their hash value
Use "docker inspect" instead of "docker images".
2016-01-22 15:14:45 -08:00
Jonathan Calmels 58b55661f3 Refactor CPU affinity handling 2016-01-18 12:49:49 -08:00
Felix Abecassis d02f06dede Pass all environment variables to the Docker CLI
Fixes: #35
2016-01-15 15:23:58 -08:00
Jonathan Calmels e124d91855 Add Ubuntu package generation
Closes: #33
2016-01-14 16:35:56 -08:00
Felix Abecassis 4d7835a7e1 Automatically pull images if they are not present locally
Closes: #32
2016-01-11 17:25:56 -08:00
Felix Abecassis 95f07d08e4 Try to remove local volume before trying to recreate it 2016-01-11 14:53:03 -08:00
Jonathan Calmels 234d50835b Avoid querying all device information if not needed 2016-01-11 12:46:09 -08:00
Felix Abecassis 659706d6e6 Fix duplicate UID error when building the tools as root
Closes: #29
2016-01-11 11:15:47 -08:00
Felix Abecassis 5d13992516 Enable folder "tools/" for language stats on GitHub
Linguist (https://github.com/github/linguist) considers folder "tools" as a
"vendor" path.
2016-01-10 14:20:02 -08:00
Jonathan Calmels fda10b2d27 Merge pull request #28 from NVIDIA/v1
[RELEASE]  v1.0.0 beta

Closes: #8
2016-01-09 02:19:36 -08:00
Jonathan Calmels 63ec739efa Update README 2016-01-09 10:45:04 +01:00
Felix Abecassis 127c05b46c Do not put dependencies on the "push" rule, only push the current images 2016-01-09 10:44:55 +01:00
Jonathan Calmels 1aa283b862 Check if a volume exists before creating it 2016-01-09 10:44:55 +01:00
Felix Abecassis e0981f219b Make top-level Makefile sequential 2016-01-09 10:44:55 +01:00
Felix Abecassis a7bfaa719e Add a rule "clean-images" to remove all built images 2016-01-09 10:44:55 +01:00
Jonathan Calmels 0c35edfb16 Volumes now include drivers versioning to address drivers upgrade 2016-01-09 10:44:55 +01:00
Felix Abecassis 52371796ee Rule "push" should not fail if there are no images to push 2016-01-09 10:44:55 +01:00
Felix Abecassis 709d5f614c Fix centos-6 Dockerfile 2016-01-09 10:44:55 +01:00
Felix Abecassis 452ecddc38 Add build variable to suffix pushed images with the OS version 2016-01-09 10:44:55 +01:00
Felix Abecassis 9e461fba10 Fix build 2016-01-09 10:44:55 +01:00
Felix Abecassis 06bcc9bb0a Add Makefiles for samples 2016-01-09 10:18:31 +01:00
Felix Abecassis 3f2dbe5f8b Update top-level Makefile 2016-01-09 10:18:31 +01:00
Felix Abecassis 5940429121 Fix sha256 checksums 2016-01-09 10:18:31 +01:00
Felix Abecassis e546687887 Update Makefiles 2016-01-09 10:18:31 +01:00
Felix Abecassis ca621b1ddd Bump copyright year again 2016-01-09 10:18:31 +01:00
Jonathan Calmels 5f98d76a87 Improve the NV_HOST/DOCKER_HOST parsing 2016-01-09 10:18:31 +01:00
Felix Abecassis 97132994bc Add uninstall rule in tools/Makefile 2016-01-09 10:18:31 +01:00
Jonathan Calmels 20d265f67b Export DOCKER_* environment variables in the docker syscall 2016-01-09 10:18:31 +01:00
Jonathan Calmels bdf4bf64f4 Fix docker command line parsing 2016-01-09 10:18:31 +01:00
Jonathan Calmels fe09af946d Fix docker command errors 2016-01-09 10:18:31 +01:00
Jonathan Calmels ad45612b88 Prevent CUDA_VISIBLE_DEVICES from interfering 2016-01-09 10:18:31 +01:00
Jonathan Calmels ec3b7c0485 Mount volumes in read only 2016-01-09 10:18:31 +01:00
Jonathan Calmels 2c81ba75ab Improve the build system 2016-01-09 10:18:31 +01:00
Jonathan Calmels eed6dc1a1d Fix Makefile to include nvidia-docker 2016-01-09 10:18:31 +01:00
Jonathan Calmels c73d6cdb08 Rename NV_DOCKER_BIN to NV_DOCKER 2016-01-09 10:18:31 +01:00
Jonathan Calmels b8b74e3145 Change few terminologies in the remote API 2016-01-09 10:18:31 +01:00
Jonathan Calmels 8aca314df7 Add remote support to nvidia-docker 2016-01-09 10:18:31 +01:00
Jonathan Calmels 0fc94e9d55 Cleanup remote API v1 2016-01-09 10:18:31 +01:00
Jonathan Calmels 6a020a5556 Put environ logic in a separate file and introduce NV_HOST 2016-01-09 10:18:31 +01:00
Jonathan Calmels 7e1aa00c64 Implement the "volume setup" command 2016-01-09 10:18:31 +01:00
Jonathan Calmels bb5c0e851e Rename setup.go in utils.go 2016-01-09 10:18:31 +01:00
Jonathan Calmels d40671561b Avoid loading UVM if already loaded 2016-01-09 10:18:31 +01:00
Jonathan Calmels 6c0836bbb1 Rework the handling of volumes 2016-01-09 10:18:31 +01:00
Jonathan Calmels d6d4d5ee1d Remove some logs fix comments 2016-01-09 10:18:31 +01:00
Jonathan Calmels cda05f5199 Minor coding style cleanup 2016-01-09 10:18:31 +01:00
Jonathan Calmels ca4aea12db Add docker package 2016-01-09 10:18:31 +01:00
Jonathan Calmels 0b6821598d Remove the nvidia-docker script and rename the plugin dir 2016-01-09 10:18:31 +01:00
Jonathan Calmels dfd0188705 Add com.nvidia.volumes.needed label to runtime images 2016-01-09 10:17:56 +01:00
Jonathan Calmels 84fb8149bc Initial implementation of the new nvidia-docker CLI 2016-01-09 10:17:56 +01:00
Jonathan Calmels 6c89c0da87 Export all the driver files into a single volume 2016-01-09 10:17:56 +01:00