We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to run an own docker image of miniconda. I get this warning. How can I solve this problem?
Executing transaction: ...working... WARNING conda.core.envs_manager:register_env(46): Unable to register environment. Path not writable or missing. environment location: /opt/conda registry file: /root/.conda/environments.txt
Here is my Dockerfile
FROM debian:stretch-slim ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 ENV PATH /opt/conda/bin:$PATH ENV MINICONDA_VERSION Miniconda3-4.7.10 RUN apt-get update --fix-missing \ && apt-get install -y wget bzip2 ca-certificates curl git \ && apt-get clean && \ rm -rf /var/lib/apt/lists/* RUN wget --quiet https://repo.anaconda.com/miniconda/${MINICONDA_VERSION}-Linux-x86_64.sh -O ~/miniconda.sh \ && /bin/bash ~/miniconda.sh -b -p /opt/conda \ && rm ~/miniconda.sh \ && /opt/conda/bin/conda clean -all \ && ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh \ && echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc \ && echo "conda activate base" >> ~/.bashrc ENV TINI_VERSION v0.18.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/bin/tini RUN chmod +x /usr/bin/tini ENTRYPOINT [ "/usr/bin/tini", "--" ] CMD [ "/bin/bash" ]
The text was updated successfully, but these errors were encountered:
Try to create the .conda in /root/ manually before installing anaconda. For me it works
Sorry, something went wrong.
I had similar problem since the .conda/environments.txt was created by installer and was owned by root
I've chown it to my current user and it was solved the scrit: sudo chown .conda/environments.txt
No branches or pull requests
I try to run an own docker image of miniconda. I get this warning. How can I solve this problem?
Here is my Dockerfile
The text was updated successfully, but these errors were encountered: