python_data_science icon indicating copy to clipboard operation
python_data_science copied to clipboard

Issue Using python_data_science repo when building Anaconda docker container

Open ashepele opened this issue 4 years ago • 0 comments

Hello Andrei and Carlos,

Thank you for putting together this repo and the posts on hands-on.cloud! They are exactly what I've been looking for.

I'm following these instructions https://hands-on.cloud/how-to-build-python-data-science-docker-container-based-on-anaconda/

Here are the steps I've taken so far

  1. Clone repo from https://github.com/andreivmaksimov/python_data_science
  2. Replace the contents of the Dockerfile with the new contents from the instructions
  3. Run docker build --tag anaconda .

I'm getting the following error after running the docker build command The command '/bin/sh -c /opt/conda/bin/conda update -n base -c defaults conda && /opt/conda/bin/conda install python=3.6 && /opt/conda/bin/conda install anaconda-client && /opt/conda/bin/conda install jupyter -y && /opt/conda/bin/conda install --channel https://conda.anaconda.org/menpo opencv3 -y && /opt/conda/bin/conda install numpy pandas scikit-learn matplotlib seaborn pyyaml h5py keras -y && /opt/conda/bin/conda upgrade dask && pip install tensorflow imutils' returned a non-zero code: 1

Screenshot of the same error just in case anaconda

Would you have any advice on resolving this error?

Environment Ubuntu 18.04

ashepele avatar Jul 21 '21 01:07 ashepele