Having problems understanding Docker












0















I have a Synology NAS which runs a X86_64 Linux flavor. 
I have Docker installed on the NAS (17.05). 
However, I have yet to be able to find an Ubuntu image that I can install into Docker. I have gone on to https://hub.docker.com/_/ubuntu which is where the official image is supposed to live, yet I find absolutely nothing that I can use to give to Docker, whether it be a HUB URL or a Repository URL – nothing works. Now I am sure this issue is all on me, but I have read all the help files at least five times, and it keeps jumping from the Ubuntu Official Image to Running Docker on Linux, which doesn't help my confusion. I have yet to find anything on Docker hub that I can use, and I have searched Google all day with no luck.



My end goal, if I can get things to work, is to install Ubuntu or any Linux in Docker, then I need to somehow install PostgreSQL – but I think that would be installed into the Linux image? Ultimately I would like to then install Odoo. This entire undertaking is because the only version of Odoo I can use on my NAS is Odoo 8, and it has a serious fatal issue, so I would like to install Odoo into Docker – but I am pretty sure I need Linux installed first.



I am at my wits' end with this. 
I know this is a learning curve for me, but I just need help
getting pointed into the right directions and maybe some examples.










share|improve this question





























    0















    I have a Synology NAS which runs a X86_64 Linux flavor. 
    I have Docker installed on the NAS (17.05). 
    However, I have yet to be able to find an Ubuntu image that I can install into Docker. I have gone on to https://hub.docker.com/_/ubuntu which is where the official image is supposed to live, yet I find absolutely nothing that I can use to give to Docker, whether it be a HUB URL or a Repository URL – nothing works. Now I am sure this issue is all on me, but I have read all the help files at least five times, and it keeps jumping from the Ubuntu Official Image to Running Docker on Linux, which doesn't help my confusion. I have yet to find anything on Docker hub that I can use, and I have searched Google all day with no luck.



    My end goal, if I can get things to work, is to install Ubuntu or any Linux in Docker, then I need to somehow install PostgreSQL – but I think that would be installed into the Linux image? Ultimately I would like to then install Odoo. This entire undertaking is because the only version of Odoo I can use on my NAS is Odoo 8, and it has a serious fatal issue, so I would like to install Odoo into Docker – but I am pretty sure I need Linux installed first.



    I am at my wits' end with this. 
    I know this is a learning curve for me, but I just need help
    getting pointed into the right directions and maybe some examples.










    share|improve this question



























      0












      0








      0








      I have a Synology NAS which runs a X86_64 Linux flavor. 
      I have Docker installed on the NAS (17.05). 
      However, I have yet to be able to find an Ubuntu image that I can install into Docker. I have gone on to https://hub.docker.com/_/ubuntu which is where the official image is supposed to live, yet I find absolutely nothing that I can use to give to Docker, whether it be a HUB URL or a Repository URL – nothing works. Now I am sure this issue is all on me, but I have read all the help files at least five times, and it keeps jumping from the Ubuntu Official Image to Running Docker on Linux, which doesn't help my confusion. I have yet to find anything on Docker hub that I can use, and I have searched Google all day with no luck.



      My end goal, if I can get things to work, is to install Ubuntu or any Linux in Docker, then I need to somehow install PostgreSQL – but I think that would be installed into the Linux image? Ultimately I would like to then install Odoo. This entire undertaking is because the only version of Odoo I can use on my NAS is Odoo 8, and it has a serious fatal issue, so I would like to install Odoo into Docker – but I am pretty sure I need Linux installed first.



      I am at my wits' end with this. 
      I know this is a learning curve for me, but I just need help
      getting pointed into the right directions and maybe some examples.










      share|improve this question
















      I have a Synology NAS which runs a X86_64 Linux flavor. 
      I have Docker installed on the NAS (17.05). 
      However, I have yet to be able to find an Ubuntu image that I can install into Docker. I have gone on to https://hub.docker.com/_/ubuntu which is where the official image is supposed to live, yet I find absolutely nothing that I can use to give to Docker, whether it be a HUB URL or a Repository URL – nothing works. Now I am sure this issue is all on me, but I have read all the help files at least five times, and it keeps jumping from the Ubuntu Official Image to Running Docker on Linux, which doesn't help my confusion. I have yet to find anything on Docker hub that I can use, and I have searched Google all day with no luck.



      My end goal, if I can get things to work, is to install Ubuntu or any Linux in Docker, then I need to somehow install PostgreSQL – but I think that would be installed into the Linux image? Ultimately I would like to then install Odoo. This entire undertaking is because the only version of Odoo I can use on my NAS is Odoo 8, and it has a serious fatal issue, so I would like to install Odoo into Docker – but I am pretty sure I need Linux installed first.



      I am at my wits' end with this. 
      I know this is a learning curve for me, but I just need help
      getting pointed into the right directions and maybe some examples.







      linux ubuntu docker postgresql odoo






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 3 at 22:59









      Scott

      15.9k113990




      15.9k113990










      asked Feb 3 at 21:18









      user993683user993683

      1




      1






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You are mistaking Docker for a Virtual Machine system. A Docker container is just a plain process for your host, the only difference is that it runs in a bubble with its own files (all the files, /etc, /usr, etc...), as they appear in the Docker image



          So you don't install a Linux in docker, you add files to an existing image (which can, in some cases, contain most files from a distro, so you add files to it using apt install as a command in the DockerFile).



          So if you want to run Odoo in a docker container, you create a Dockerfile that reads:



          FROM ubuntu:latest # start with some distro image
          RUN apt install odoo # install Odoo using the distro's repositories
          CMD odoo # start odoo


          (actual name of distro/package to be checked)



          You build an image with that:



          docker build -t odoo .  # creates an odoo:latest image


          Then you use the image with:



          docker run odoo # with more option to define volumes (persistent files), ports used, etc...





          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2fsuperuser.com%2fquestions%2f1401674%2fhaving-problems-understanding-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









            0














            You are mistaking Docker for a Virtual Machine system. A Docker container is just a plain process for your host, the only difference is that it runs in a bubble with its own files (all the files, /etc, /usr, etc...), as they appear in the Docker image



            So you don't install a Linux in docker, you add files to an existing image (which can, in some cases, contain most files from a distro, so you add files to it using apt install as a command in the DockerFile).



            So if you want to run Odoo in a docker container, you create a Dockerfile that reads:



            FROM ubuntu:latest # start with some distro image
            RUN apt install odoo # install Odoo using the distro's repositories
            CMD odoo # start odoo


            (actual name of distro/package to be checked)



            You build an image with that:



            docker build -t odoo .  # creates an odoo:latest image


            Then you use the image with:



            docker run odoo # with more option to define volumes (persistent files), ports used, etc...





            share|improve this answer




























              0














              You are mistaking Docker for a Virtual Machine system. A Docker container is just a plain process for your host, the only difference is that it runs in a bubble with its own files (all the files, /etc, /usr, etc...), as they appear in the Docker image



              So you don't install a Linux in docker, you add files to an existing image (which can, in some cases, contain most files from a distro, so you add files to it using apt install as a command in the DockerFile).



              So if you want to run Odoo in a docker container, you create a Dockerfile that reads:



              FROM ubuntu:latest # start with some distro image
              RUN apt install odoo # install Odoo using the distro's repositories
              CMD odoo # start odoo


              (actual name of distro/package to be checked)



              You build an image with that:



              docker build -t odoo .  # creates an odoo:latest image


              Then you use the image with:



              docker run odoo # with more option to define volumes (persistent files), ports used, etc...





              share|improve this answer


























                0












                0








                0







                You are mistaking Docker for a Virtual Machine system. A Docker container is just a plain process for your host, the only difference is that it runs in a bubble with its own files (all the files, /etc, /usr, etc...), as they appear in the Docker image



                So you don't install a Linux in docker, you add files to an existing image (which can, in some cases, contain most files from a distro, so you add files to it using apt install as a command in the DockerFile).



                So if you want to run Odoo in a docker container, you create a Dockerfile that reads:



                FROM ubuntu:latest # start with some distro image
                RUN apt install odoo # install Odoo using the distro's repositories
                CMD odoo # start odoo


                (actual name of distro/package to be checked)



                You build an image with that:



                docker build -t odoo .  # creates an odoo:latest image


                Then you use the image with:



                docker run odoo # with more option to define volumes (persistent files), ports used, etc...





                share|improve this answer













                You are mistaking Docker for a Virtual Machine system. A Docker container is just a plain process for your host, the only difference is that it runs in a bubble with its own files (all the files, /etc, /usr, etc...), as they appear in the Docker image



                So you don't install a Linux in docker, you add files to an existing image (which can, in some cases, contain most files from a distro, so you add files to it using apt install as a command in the DockerFile).



                So if you want to run Odoo in a docker container, you create a Dockerfile that reads:



                FROM ubuntu:latest # start with some distro image
                RUN apt install odoo # install Odoo using the distro's repositories
                CMD odoo # start odoo


                (actual name of distro/package to be checked)



                You build an image with that:



                docker build -t odoo .  # creates an odoo:latest image


                Then you use the image with:



                docker run odoo # with more option to define volumes (persistent files), ports used, etc...






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 3 at 23:04









                xenoidxenoid

                3,7533719




                3,7533719






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1401674%2fhaving-problems-understanding-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

                    How do I know what Microsoft account the skydrive app is syncing to?

                    When does type information flow backwards in C++?

                    Grease: Live!