Jan 2019 時点の tensorflow/tensorflow:latest-gpu-py3 は、CUDA 9.0 なので Segmentation Fault が起きる
$ sudo nvidia-docker run -it tensorflow/tensorflow:latest-gpu-py3 bash
# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176
# pip3 install keras
# apt-get install wget
# wget https://raw.githubusercontent.com/fchollet/keras/master/examples/mnist_cnn.py
# python3 mnist_cnn.py
...
with 7351 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2070, pci bus id: 0000:01:00.0,
compute capability: 7.5)
Segmentation fault (core dumped)