Install Anaconda in Ubuntu Docker2019 Community Moderator ElectionSet Path for all Users (Login and Non-login Shells)What are the unreadable characters in Linux Anaconda install script?Installing docker hangs at “setting up docker-engine” on ubuntu xenialRedHat Anaconda and groupsInstalling Guake in Anaconda EnvironmentInstall Cython with python3 in DockerInstalling Anaconda on Linux Mint without messing up preinstalled Python?How to install docker from apt on Ubuntu?Troubles installing Anaconda on PythonHow can I manage anaconda post install output visible on install console?
Have I saved too much for retirement so far?
The most efficient algorithm to find all possible integer pairs which sum to a given integer
What should I use for Mishna study?
For airliners, what prevents wing strikes on landing in bad weather?
Is exact Kanji stroke length important?
How to check participants in at events?
I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?
Simple image editor tool to draw a simple box/rectangle in an existing image
A known event to a history junkie
How will losing mobility of one hand affect my career as a programmer?
Why does this part of the Space Shuttle launch pad seem to be floating in air?
Bob has never been a M before
Freedom of speech and where it applies
Can I Retrieve Email Addresses from BCC?
Should my PhD thesis be submitted under my legal name?
Calculating the number of days between 2 dates in Excel
My boss asked me to take a one-day class, then signs it up as a day off
A workplace installs custom certificates on personal devices, can this be used to decrypt HTTPS traffic?
What was required to accept "troll"?
Is there an wasy way to program in Tikz something like the one in the image?
Greatest common substring
Can a controlled ghast be a leader of a pack of ghouls?
Meta programming: Declare a new struct on the fly
How can I successfully establish a nationwide combat training program for a large country?
Install Anaconda in Ubuntu Docker
2019 Community Moderator ElectionSet Path for all Users (Login and Non-login Shells)What are the unreadable characters in Linux Anaconda install script?Installing docker hangs at “setting up docker-engine” on ubuntu xenialRedHat Anaconda and groupsInstalling Guake in Anaconda EnvironmentInstall Cython with python3 in DockerInstalling Anaconda on Linux Mint without messing up preinstalled Python?How to install docker from apt on Ubuntu?Troubles installing Anaconda on PythonHow can I manage anaconda post install output visible on install console?
I have installed anaconda in Docker 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
but when I do
RUN conda list
I get a /bin/sh: 1: conda: not found
error.
According to anaconda
install In order to activate the installation, you should source the ~/.bashrc file:
, but it seems this did not work in this case.
ubuntu docker anaconda
add a comment |
I have installed anaconda in Docker 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
but when I do
RUN conda list
I get a /bin/sh: 1: conda: not found
error.
According to anaconda
install In order to activate the installation, you should source the ~/.bashrc file:
, but it seems this did not work in this case.
ubuntu docker anaconda
can you please report the content of your .bashrc file just use cat ~/.bashrc
– varnit
Jul 23 '17 at 13:01
So that's it:export PATH="/root/yes/bin:$PATH"
. I do not see why it is in theyes/
folder. Thewhich
conda says/root/yes/bin/conda
. I do not understand why it's in theyes
command folder actually. If I login in thedocker
containerconda
works. In theDockerfile
it does not.
– loretoparisi
Jul 24 '17 at 8:55
I have changed then in this way/root/yes/bin/conda list
to make it working. The problem seems to be theyes
script then...
– loretoparisi
Jul 24 '17 at 9:20
add a comment |
I have installed anaconda in Docker 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
but when I do
RUN conda list
I get a /bin/sh: 1: conda: not found
error.
According to anaconda
install In order to activate the installation, you should source the ~/.bashrc file:
, but it seems this did not work in this case.
ubuntu docker anaconda
I have installed anaconda in Docker 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
but when I do
RUN conda list
I get a /bin/sh: 1: conda: not found
error.
According to anaconda
install In order to activate the installation, you should source the ~/.bashrc file:
, but it seems this did not work in this case.
ubuntu docker anaconda
ubuntu docker anaconda
asked Jul 20 '17 at 19:42
loretoparisiloretoparisi
180113
180113
can you please report the content of your .bashrc file just use cat ~/.bashrc
– varnit
Jul 23 '17 at 13:01
So that's it:export PATH="/root/yes/bin:$PATH"
. I do not see why it is in theyes/
folder. Thewhich
conda says/root/yes/bin/conda
. I do not understand why it's in theyes
command folder actually. If I login in thedocker
containerconda
works. In theDockerfile
it does not.
– loretoparisi
Jul 24 '17 at 8:55
I have changed then in this way/root/yes/bin/conda list
to make it working. The problem seems to be theyes
script then...
– loretoparisi
Jul 24 '17 at 9:20
add a comment |
can you please report the content of your .bashrc file just use cat ~/.bashrc
– varnit
Jul 23 '17 at 13:01
So that's it:export PATH="/root/yes/bin:$PATH"
. I do not see why it is in theyes/
folder. Thewhich
conda says/root/yes/bin/conda
. I do not understand why it's in theyes
command folder actually. If I login in thedocker
containerconda
works. In theDockerfile
it does not.
– loretoparisi
Jul 24 '17 at 8:55
I have changed then in this way/root/yes/bin/conda list
to make it working. The problem seems to be theyes
script then...
– loretoparisi
Jul 24 '17 at 9:20
can you please report the content of your .bashrc file just use cat ~/.bashrc
– varnit
Jul 23 '17 at 13:01
can you please report the content of your .bashrc file just use cat ~/.bashrc
– varnit
Jul 23 '17 at 13:01
So that's it:
export PATH="/root/yes/bin:$PATH"
. I do not see why it is in the yes/
folder. The which
conda says /root/yes/bin/conda
. I do not understand why it's in the yes
command folder actually. If I login in the docker
container conda
works. In the Dockerfile
it does not.– loretoparisi
Jul 24 '17 at 8:55
So that's it:
export PATH="/root/yes/bin:$PATH"
. I do not see why it is in the yes/
folder. The which
conda says /root/yes/bin/conda
. I do not understand why it's in the yes
command folder actually. If I login in the docker
container conda
works. In the Dockerfile
it does not.– loretoparisi
Jul 24 '17 at 8:55
I have changed then in this way
/root/yes/bin/conda list
to make it working. The problem seems to be the yes
script then...– loretoparisi
Jul 24 '17 at 9:20
I have changed then in this way
/root/yes/bin/conda list
to make it working. The problem seems to be the yes
script then...– loretoparisi
Jul 24 '17 at 9:20
add a comment |
1 Answer
1
active
oldest
votes
Anaconda is still owing docker.
So use:
RUN binbash -c "conda list"
RUN binbash -c "conda update conda"
RUN binbash -c "conda install package"
.. etc. Enclose all your conda
commands and hope it helps.
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f379816%2finstall-anaconda-in-ubuntu-docker%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Anaconda is still owing docker.
So use:
RUN binbash -c "conda list"
RUN binbash -c "conda update conda"
RUN binbash -c "conda install package"
.. etc. Enclose all your conda
commands and hope it helps.
New contributor
add a comment |
Anaconda is still owing docker.
So use:
RUN binbash -c "conda list"
RUN binbash -c "conda update conda"
RUN binbash -c "conda install package"
.. etc. Enclose all your conda
commands and hope it helps.
New contributor
add a comment |
Anaconda is still owing docker.
So use:
RUN binbash -c "conda list"
RUN binbash -c "conda update conda"
RUN binbash -c "conda install package"
.. etc. Enclose all your conda
commands and hope it helps.
New contributor
Anaconda is still owing docker.
So use:
RUN binbash -c "conda list"
RUN binbash -c "conda update conda"
RUN binbash -c "conda install package"
.. etc. Enclose all your conda
commands and hope it helps.
New contributor
New contributor
answered yesterday
Nwoye CIDNwoye CID
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f379816%2finstall-anaconda-in-ubuntu-docker%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
can you please report the content of your .bashrc file just use cat ~/.bashrc
– varnit
Jul 23 '17 at 13:01
So that's it:
export PATH="/root/yes/bin:$PATH"
. I do not see why it is in theyes/
folder. Thewhich
conda says/root/yes/bin/conda
. I do not understand why it's in theyes
command folder actually. If I login in thedocker
containerconda
works. In theDockerfile
it does not.– loretoparisi
Jul 24 '17 at 8:55
I have changed then in this way
/root/yes/bin/conda list
to make it working. The problem seems to be theyes
script then...– loretoparisi
Jul 24 '17 at 9:20