The path to docker's volumes in Ubuntu

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I'm both new to Ubuntu and Docker. I cut to the chase, when I create a volume using the sudo docker volume create TEST command, where should I expect to find the TEST volume and its data in my hard drive?



If I want it to be located in another drive, lets say D: (still new to ubuntu not sure if it also applies to linux) drive, what do I have to do?







share|improve this question























    up vote
    0
    down vote

    favorite












    I'm both new to Ubuntu and Docker. I cut to the chase, when I create a volume using the sudo docker volume create TEST command, where should I expect to find the TEST volume and its data in my hard drive?



    If I want it to be located in another drive, lets say D: (still new to ubuntu not sure if it also applies to linux) drive, what do I have to do?







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm both new to Ubuntu and Docker. I cut to the chase, when I create a volume using the sudo docker volume create TEST command, where should I expect to find the TEST volume and its data in my hard drive?



      If I want it to be located in another drive, lets say D: (still new to ubuntu not sure if it also applies to linux) drive, what do I have to do?







      share|improve this question











      I'm both new to Ubuntu and Docker. I cut to the chase, when I create a volume using the sudo docker volume create TEST command, where should I expect to find the TEST volume and its data in my hard drive?



      If I want it to be located in another drive, lets say D: (still new to ubuntu not sure if it also applies to linux) drive, what do I have to do?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 5 at 0:31









      Transcendent

      120115




      120115




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Looks like it is /var/lib/docker/volumes



          Here's what I got:



          $ docker volume create TEST 
          $ ls /var/lib/docker/volumes
          metadata.db TEST/





          share|improve this answer





















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043661%2fthe-path-to-dockers-volumes-in-ubuntu%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            Looks like it is /var/lib/docker/volumes



            Here's what I got:



            $ docker volume create TEST 
            $ ls /var/lib/docker/volumes
            metadata.db TEST/





            share|improve this answer

























              up vote
              1
              down vote



              accepted










              Looks like it is /var/lib/docker/volumes



              Here's what I got:



              $ docker volume create TEST 
              $ ls /var/lib/docker/volumes
              metadata.db TEST/





              share|improve this answer























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                Looks like it is /var/lib/docker/volumes



                Here's what I got:



                $ docker volume create TEST 
                $ ls /var/lib/docker/volumes
                metadata.db TEST/





                share|improve this answer













                Looks like it is /var/lib/docker/volumes



                Here's what I got:



                $ docker volume create TEST 
                $ ls /var/lib/docker/volumes
                metadata.db TEST/






                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 5 at 3:09









                theferrit32

                36627




                36627






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043661%2fthe-path-to-dockers-volumes-in-ubuntu%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491