Skip to content

Docker Failed (RDKit) #21

@amelie-iska

Description

@amelie-iska

Issue: Docker fails at installing rdkit.
Attempted Workarounds: Tried removing the version of rdkit, also tried using pip install rdkit.

docker build -t molecule_stm .
[+] Building 40.7s (13/27)                                 docker:default
 => [internal] load build definition from Dockerfile                 0.0s
 => => transferring dockerfile: 1.39kB                               0.0s 
 => [internal] load metadata for nvcr.io/nvidia/pytorch:22.01-py3    1.6s 
 => [internal] load .dockerignore                                    0.0s
 => => transferring context: 2B                                      0.0s 
 => [ 1/24] FROM nvcr.io/nvidia/pytorch:22.01-py3@sha256:06f27ba669  0.0s 
 => CACHED [ 2/24] RUN useradd -ms /bin/bash shengchaol              0.0s 
 => CACHED [ 3/24] WORKDIR /home/shengchaol                          0.0s 
 => CACHED [ 4/24] RUN chmod -R 777 /home/shengchaol                 0.0s 
 => CACHED [ 5/24] RUN chmod -R 777 /usr/bin                         0.0s 
 => CACHED [ 6/24] RUN chmod -R 777 /bin                             0.0s 
 => CACHED [ 7/24] RUN chmod -R 777 /usr/local                       0.0s 
 => CACHED [ 8/24] RUN chmod -R 777 /opt/conda                       0.0s 
 => CACHED [ 9/24] RUN conda install -y python=3.7                   0.0s 
 => ERROR [10/24] RUN conda install -y -c rdkit rdkit=2020.09.1.0   39.1s 
------
 > [10/24] RUN conda install -y -c rdkit rdkit=2020.09.1.0:
1.165 Collecting package metadata (current_repodata.json): ...working... done
14.62 Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
30.82 Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
38.38
38.38 ResolvePackageNotFound:
38.38   - conda==4.11.0
38.38
------
Dockerfile:20
--------------------
  18 |     RUN conda install -y python=3.7
  19 |
  20 | >>> RUN conda install -y -c rdkit rdkit=2020.09.1.0
  21 |     # RUN pip install rdkit
  22 |     RUN conda install -y -c conda-forge -c pytorch pytorch=1.9.1   
--------------------
ERROR: failed to solve: process "/bin/sh -c conda install -y -c rdkit rdkit=2020.09.1.0" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions