3 ms·
Would this be significantly easier if there were just a Dockerfile with all this stuff in it and then the instructions would be, "docker build -t cuda . && dock
by hughdbrown 12y ago
Would this be significantly easier if there were just a Dockerfile with all this stuff in it and then the instructions would be, "docker build -t cuda . && docker run -t -i cuda /bin/sh"? Or maybe make it a trusted docker image and developers could just pull/run it?
Later: perhaps not. Graphics drivers and the like rely on an interactive terminal and an X11 system, AFAICT.
- andrewguenther 12y agoI think this could actually be done if the container is run in "--privileged" mode.
- hughdbrown 12y agoI think it is more than that. The installation has steps that fail because of terminal requirements at install-time: Unpacking x11-common (from .../x11-common_1%3a7.6+12ubuntu2_all.deb) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Have a look at the github repo: https://github.com/hughdbrown/docker-cuda https://github.com/hughdbrown/docker-cuda