Ubuntu DockerへのAnacondaのインストール

Ubuntu DockerへのAnacondaのインストール

私はインストールしましたPythonDocker Ubuntu 16.04LTSから

RUN \
    curl -O https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh && \
    yes "yes" | bash Anaconda3-4.2.0-Linux-x86_64.sh && \
    sudo -s source ~/.bashrc

しかし、私がするとき

RUN conda list

エラーが発生します/bin/sh: 1: conda: not found

anacondainstall によるとIn order to activate the installation, you should source the ~/.bashrc file:、この場合には動作しないようです。

ベストアンサー1

おすすめ記事