Tag Name = ubuntu18_cuda10
docker build -t juhy9212/tensorflow: .
docker pull juhy9212/tensorflow:
docker push juhy9212/tensorflow:
nvidia-docker run --restart always -v /home/jhpark/HDD:/notebooks/HDD --net host -it juhy9212/tensorflow:
FROM nvidia/cuda:9.0-base-ubuntu16.04
LABEL maintainer="J. H. Park [email protected]"
RUN apt-get update && apt-get install -y --no-install-recommends
build-essential
software-properties-common
apt-utils
cuda-command-line-tools-9-0
cuda-cublas-9-0
cuda-cufft-9-0
cuda-curand-9-0
cuda-cusolver-9-0
cuda-cusparse-9-0
libcudnn7=7.2.1.38-1+cuda9.0
libcudnn7-dev=7.2.1.38-1+cuda9.0
libnccl2=2.2.13-1+cuda9.0
libnccl-dev=2.2.13-1+cuda9.0
libcurl3-dev
libfreetype6-dev
libhdf5-serial-dev
libpng12-dev
libzmq3-dev
rsync
curl
wget
nano
unzip
zip
git
tmux
htop
locales
tzdata
mlocate
fonts-liberation
libfreetype6-dev
libpng12-dev
libzmq3-dev
pkg-config
python
python-tk
python-dev
python-setuptools
python3
python3-dev
python3-setuptools
zlib1g-dev
libcurl3-dev
libsm6
libxext6
libopencv-dev
libav-tools
libjpeg-dev
libpng-dev
libtiff-dev
libjasper-dev
language-pack-ko
fonts-nanum-coding
openjdk-8-jdk
openjdk-8-jre-headless
r-base
libapparmor1
fonts-dejavu
tzdata
gfortran
gcc
g++
libssl-dev
libxml2-dev
&&
echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" | tee /etc/apt/sources.list.d/tensorflow-serving.list &&
curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | apt-key add - &&
apt-get update && apt-get install tensorflow-model-server-universal &&
apt-get clean &&
rm -rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen &&
locale-gen
ENV LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
ENV TZ=Asia/Seoul RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN curl -O https://bootstrap.pypa.io/get-pip.py &&
python3 get-pip.py &&
python get-pip.py &&
rm get-pip.py
RUN pip3 install --upgrade pip &&
pip3 install
ipykernel
jupyter
matplotlib
numpy
pandas
scipy
glances
requests
grpcio
mock
nvidia-ml-py3
tensorflow-gpu
tensorflow-hub
tqdm
sklearn
scikit-image
opencv-python
Pillow
beautifulsoup4
selenium \
seaborn
h5py
keras_applications
keras_preprocessing
isort
jupyter_contrib_nbextensions
gpustat
yapf
Cython
jupyterthemes \
ipywidgets
ipyleaflet
bqplot \
pythreejs
ipyvolume
nglview \
beakerx
gmaps
konlpy
JPype1
gensim \
nltk
python-highcharts
jupyter-tensorboard
&&
python3 -m ipykernel.kernelspec
RUN pip install --upgrade pip &&
pip install
Pillow
h5py
ipykernel
matplotlib
numpy
pandas
scipy
sklearn
scikit-image
opencv-python
tqdm
requests
nvidia-ml-py
tensorflow-gpu
tensorflow-serving-api
mock
grpcio
&&
python -m ipykernel.kernelspec &&
rm -rf ~/.cache/pip
RUN Rscript -e "install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'), repos = c("http://irkernel.github.io/\", "http://cran.rstudio.com\"))" &&
Rscript -e "library("devtools")" -e "install_github('IRkernel/IRkernel')" &&
Rscript -e "IRkernel::installspec(user = FALSE)" &&
Rscript -e "install.packages(c('data.table', 'smbinning', 'Information', 'Hmisc', 'ggplot2', 'stable', 'splitstackshape', 'gridExtra', 'plyr', 'dplyr', 'reshape2', 'stringr', 'randomForest', 'rpart', 'partykit', 'woe', 'relimp', 'corrplot', 'pROC', 'tidyr', 'GA', 'gtable', 'rmarkdown', 'knitr', 'prettydoc', 'bit64', 'DBI', 'sas7bdat', 'rJava', 'xlsx', 'BH', 'evaluate', 'htmlTable', 'viridis', 'plogr', 'sqldf', 'formatR', 'methods', 'RCurl', 'jsonlite', 'bitops', 'tidyverse'), repos = 'http://cran.rstudio.com')"
COPY jupyter_notebook_config.py /root/.jupyter/
COPY run_jupyter.sh / RUN chmod +x /run_jupyter.sh
ENV LD_LIBRARY_PATH /usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH
EXPOSE 6006
EXPOSE 8888
WORKDIR "/notebooks"
ENV SHELL=/bin/bash
RUN jupyter contrib nbextension install --user RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension RUN jupyter nbextension enable --py --sys-prefix ipyleaflet RUN jupyter nbextension enable --py --sys-prefix bqplot RUN jupyter nbextension enable --py --sys-prefix ipyvolume RUN jupyter nbextension enable --py --sys-prefix nglview RUN jupyter nbextension enable --py --sys-prefix gmaps
RUN jt -t grade3 -fs 10 -tfs 11 -nfs 11 -ofs 10 -cellw 80% -T -N
CMD ["/run_jupyter.sh", "--allow-root"]
Content type
Image
Digest
Size
2.6 GB
Last updated
over 7 years ago
docker pull juhy9212/tensorflow:20190410