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?










2















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.










share|improve this question






















  • 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












  • 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















2















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.










share|improve this question






















  • 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












  • 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













2












2








2


2






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.










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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

















  • 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












  • 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
















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










1 Answer
1






active

oldest

votes


















-1














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.






share|improve this answer








New contributor




Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















    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
    );



    );













    draft saved

    draft discarded


















    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









    -1














    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.






    share|improve this answer








    New contributor




    Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      -1














      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.






      share|improve this answer








      New contributor




      Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        -1












        -1








        -1







        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.






        share|improve this answer








        New contributor




        Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        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.







        share|improve this answer








        New contributor




        Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered yesterday









        Nwoye CIDNwoye CID

        1




        1




        New contributor




        Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Nwoye CID is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.