ADE fails to start with the latest docker and NVIDIA drivers
See the full log below. Note that removing --runtime=nvidia
seemingly fixes everything and my CUDA still works in the ADE environment.
~/adehome$ uname -a
Linux serge-linux 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
~/adehome$ docker --version
Docker version 19.03.4, build 9013bf583a
~/adehome$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
$ pip3 uninstall ade-cli
Cannot uninstall requirement ade-cli, not installed
$ pip3 install ade-cli
Collecting ade-cli
Using cached https://files.pythonhosted.org/packages/d1/a3/e1cde77fb7e540593972835d7f58b07c2e6b66685fcee5b7f4f5add687d8/ade_cli-3.5.1-py3-none-any.whl
Collecting click>=7.0 (from ade-cli)
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting pdbpp (from ade-cli)
Collecting aiohttp<3.5.0 (from ade-cli)
Using cached https://files.pythonhosted.org/packages/52/f9/c22977fc95346911d8fe507f90c3c4e4f445fdf339b750be6f03f090498d/aiohttp-3.4.4-cp36-cp36m-manylinux1_x86_64.whl
Collecting aiodns (from ade-cli)
Using cached https://files.pythonhosted.org/packages/da/01/8f2d49b441573fd2478833bdba91cf0b853b4c750a1fbb9e98de1b94bb22/aiodns-2.0.0-py2.py3-none-any.whl
Collecting cchardet (from ade-cli)
Using cached https://files.pythonhosted.org/packages/4f/a5/d073e7a0e992275d9b87e08cc3151c0ec27c718b78e6c943d264e5bd71d3/cchardet-2.1.4-cp36-cp36m-manylinux1_x86_64.whl
Collecting pygments (from pdbpp->ade-cli)
Using cached https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl
Collecting fancycompleter>=0.8 (from pdbpp->ade-cli)
Collecting wmctrl (from pdbpp->ade-cli)
Collecting attrs>=17.3.0 (from aiohttp<3.5.0->ade-cli)
Using cached https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
Collecting async-timeout<4.0,>=3.0 (from aiohttp<3.5.0->ade-cli)
Using cached https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting idna-ssl>=1.0; python_version < "3.7" (from aiohttp<3.5.0->ade-cli)
Collecting yarl<2.0,>=1.0 (from aiohttp<3.5.0->ade-cli)
Using cached https://files.pythonhosted.org/packages/fa/c0/9a73968a9f4e4dac8dffb0ba35f932dd7798fe97901f4942c2d38667862c/yarl-1.3.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting chardet<4.0,>=2.0 (from aiohttp<3.5.0->ade-cli)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting multidict<5.0,>=4.0 (from aiohttp<3.5.0->ade-cli)
Using cached https://files.pythonhosted.org/packages/71/cc/ceb5b8c76e7a23212b9e0353053cc35a9d86c763d852a76d9b941fe81fbc/multidict-4.5.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting typing; python_version < "3.7" (from aiodns->ade-cli)
Using cached https://files.pythonhosted.org/packages/fe/2e/b480ee1b75e6d17d2993738670e75c1feeb9ff7f64452153cf018051cc92/typing-3.7.4.1-py3-none-any.whl
Collecting pycares>=3.0.0 (from aiodns->ade-cli)
Using cached https://files.pythonhosted.org/packages/88/58/0cdc4e9aeaa19d91cf33cdc7590d5a08b2c78de73fde893580b4fa63b57b/pycares-3.0.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting idna>=2.0 (from idna-ssl>=1.0; python_version < "3.7"->aiohttp<3.5.0->ade-cli)
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting cffi>=1.5.0 (from pycares>=3.0.0->aiodns->ade-cli)
Using cached https://files.pythonhosted.org/packages/ab/15/d6bd2c322da944ba74ca545dd5e4af6e1e72339cbbc738e6877e349cdfbe/cffi-1.13.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting pycparser (from cffi>=1.5.0->pycares>=3.0.0->aiodns->ade-cli)
Installing collected packages: click, pygments, fancycompleter, wmctrl, pdbpp, attrs, async-timeout, idna, idna-ssl, multidict, yarl, chardet, aiohttp, typing, pycparser, cffi, pycares, aiodns, cchardet, ade-cli
Successfully installed ade-cli-3.5.1 aiodns-2.0.0 aiohttp-3.4.4 async-timeout-3.0.1 attrs-19.3.0 cchardet-2.1.4 cffi-1.13.1 chardet-3.0.4 click-7.0 fancycompleter-0.8 idna-2.8 idna-ssl-1.1.0 multidict-4.5.2 pdbpp-0.10.2 pycares-3.0.0 pycparser-2.19 pygments-2.4.2 typing-3.7.4.1 wmctrl-0.3 yarl-1.3.0
$ pip3 show ade-cli
Name: ade-cli
Version: 3.5.1
Summary: Agile Development Environment
Home-page: https://gitlab.com/ApexAI/ade-cli
Author: Ternaris
Author-email: team@ternaris.com
License: Apache-2.0
Location: /home/serge/.local/lib/python3.6/site-packages
Requires: pdbpp, aiohttp, cchardet, click, aiodns
$ ade start
Starting ade with the following images:
ade | n/a | latest | registry.gitlab.safeai.ai/production/safeai/ade:latest
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
ERROR: Command return non-zero exit code (see above): 125
docker run -h ade --detach --name ade --env COLORFGBG --env DISPLAY --env EMAIL --env GIT_AUTHOR_EMAIL --env GIT_AUTHOR_NAME --env GIT_COMMITTER_EMAIL --env GIT_COMMITTER_NAME --env SSH_AUTH_SOCK --env TERM --env TIMEZONE=America/Los_Angeles --env USER=serge --env GROUP=serge --env USER_ID=1000 --env GROUP_ID=1000 --env VIDEO_GROUP_ID=44 -v /dev/dri:/dev/dri -v /dev/shm:/dev/shm -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/serge/adehome:/home/serge --env ADE_CLI_VERSION=3.5.1 --env ADE_HOME_HOSTPATH=/home/serge/adehome --label ade_version=3.5.1 -v /home/serge/.ssh:/home/serge/.ssh -v /run/user/1000/keyring/ssh:/run/user/1000/keyring/ssh --label 'ade_volumes_from=[]' --runtime=nvidia --env NVIDIA_VISIBLE_DEVICES=all --env NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics --env LD_LIBRARY_PATH=/usr/local/nvidia/lib64 --privileged --network=host --env ADE_IMAGE_ADE_FQN=registry.gitlab.safeai.ai/production/safeai/ade:latest --env ADE_IMAGE_ADE_COMMIT_SHA= --env ADE_IMAGE_ADE_COMMIT_TAG= --label 'ade_images=[{"fqn": "registry.gitlab.safeai.ai/production/safeai/ade:latest", "commit_sha": "", "commit_tag": ""}]' registry.gitlab.safeai.ai/production/safeai/ade:latest