problem in installing tensorrt in docker

Hi,
I use nvidia docker to install tensorrt. I want to install tensorrt 5.0.2 cuda 9 but when I run the sudo apt-get install tensorrt (tutorial https://docs.nvidia.com/deeplearning/sdk/tensorrt-install-guide/index.html ) I get:

Depends: libnvinfer5 (= 5.1.2-1+cuda9.0) but 5.1.2-1+cuda10.1 is to be installed
Depends: libnvinfer-dev (= 5.1.2-1+cuda9.0) but 5.1.2-1+cuda10.1 is to be installed

I don’t know why it tries to install cuda 10 version.

I posted a similar inquiry: https://devtalk.nvidia.com/default/topic/1049636/tensorrt/trouble-installing-tensorrt-5-1-rc-in-a-google-tensorflow-container/

Hope someone responds!