Does tagging a Docker image create a copy of the image? The Next CEO of Stack Overflowinconsistent Docker imageDocker image creation using RPMDelivering docker image to multiple servers without docker machineExtract file from docker image?Running Docker in Docker: Access volumes from the parent DockerUnusual disk space usageEvery docker image I make cannot bind to any portDownloaded newer image - docker: Error response from daemon: OCI runtime create failed: container_linux.go:348:How to prevent docker Image from upgrading the yum packagedocker unable to run golang image

Find a path from s to t using as few red nodes as possible

Upgrading From a 9 Speed Sora Derailleur?

Are British MPs missing the point, with these 'Indicative Votes'?

Calculating discount not working

"Eavesdropping" vs "Listen in on"

MT "will strike" & LXX "will watch carefully" (Gen 3:15)?

Can Sri Krishna be called 'a person'?

How do I secure a TV wall mount?

How to unfasten electrical subpanel attached with ramset

Is it possible to create a QR code using text?

What does this strange code stamp on my passport mean?

How does a dynamic QR code work?

Find the majority element, which appears more than half the time

How can a day be of 24 hours?

The sum of any ten consecutive numbers from a fibonacci sequence is divisible by 11

Shortening a title without changing its meaning

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

Why doesn't Shulchan Aruch include the laws of destroying fruit trees?

Physiological effects of huge anime eyes

How do I keep Mac Emacs from trapping M-`?

Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?

Calculate the Mean mean of two numbers

How exploitable/balanced is this homebrew spell: Spell Permanency?

Gauss' Posthumous Publications?



Does tagging a Docker image create a copy of the image?



The Next CEO of Stack Overflowinconsistent Docker imageDocker image creation using RPMDelivering docker image to multiple servers without docker machineExtract file from docker image?Running Docker in Docker: Access volumes from the parent DockerUnusual disk space usageEvery docker image I make cannot bind to any portDownloaded newer image - docker: Error response from daemon: OCI runtime create failed: container_linux.go:348:How to prevent docker Image from upgrading the yum packagedocker unable to run golang image










-2















Does tagging a Docker image create a copy of the image?



It seems to me tagging by itself shouldn't.
But the following command seems to imply so.



Thanks.



$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
friendlyhello latest d9e555c53008 3 minutes ago 195MB
python 2.7-slim 1c7128a655f6 5 days ago 183MB

$ docker tag friendlyhello gordon/get-started:part2

$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
friendlyhello latest d9e555c53008 3 minutes ago 195MB
gordon/get-started part2 d9e555c53008 3 minutes ago 195MB
python 2.7-slim 1c7128a655f6 5 days ago 183MB









share|improve this question




























    -2















    Does tagging a Docker image create a copy of the image?



    It seems to me tagging by itself shouldn't.
    But the following command seems to imply so.



    Thanks.



    $ docker image ls
    REPOSITORY TAG IMAGE ID CREATED SIZE
    friendlyhello latest d9e555c53008 3 minutes ago 195MB
    python 2.7-slim 1c7128a655f6 5 days ago 183MB

    $ docker tag friendlyhello gordon/get-started:part2

    $ docker image ls
    REPOSITORY TAG IMAGE ID CREATED SIZE
    friendlyhello latest d9e555c53008 3 minutes ago 195MB
    gordon/get-started part2 d9e555c53008 3 minutes ago 195MB
    python 2.7-slim 1c7128a655f6 5 days ago 183MB









    share|improve this question


























      -2












      -2








      -2








      Does tagging a Docker image create a copy of the image?



      It seems to me tagging by itself shouldn't.
      But the following command seems to imply so.



      Thanks.



      $ docker image ls
      REPOSITORY TAG IMAGE ID CREATED SIZE
      friendlyhello latest d9e555c53008 3 minutes ago 195MB
      python 2.7-slim 1c7128a655f6 5 days ago 183MB

      $ docker tag friendlyhello gordon/get-started:part2

      $ docker image ls
      REPOSITORY TAG IMAGE ID CREATED SIZE
      friendlyhello latest d9e555c53008 3 minutes ago 195MB
      gordon/get-started part2 d9e555c53008 3 minutes ago 195MB
      python 2.7-slim 1c7128a655f6 5 days ago 183MB









      share|improve this question
















      Does tagging a Docker image create a copy of the image?



      It seems to me tagging by itself shouldn't.
      But the following command seems to imply so.



      Thanks.



      $ docker image ls
      REPOSITORY TAG IMAGE ID CREATED SIZE
      friendlyhello latest d9e555c53008 3 minutes ago 195MB
      python 2.7-slim 1c7128a655f6 5 days ago 183MB

      $ docker tag friendlyhello gordon/get-started:part2

      $ docker image ls
      REPOSITORY TAG IMAGE ID CREATED SIZE
      friendlyhello latest d9e555c53008 3 minutes ago 195MB
      gordon/get-started part2 d9e555c53008 3 minutes ago 195MB
      python 2.7-slim 1c7128a655f6 5 days ago 183MB






      docker






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      Stephen Kitt

      179k24406485




      179k24406485










      asked 2 days ago









      TimTim

      28.4k78269490




      28.4k78269490




















          1 Answer
          1






          active

          oldest

          votes


















          2














          No, a copy is not made.



          You can tell this because the Image ID value is identical:



          friendlyhello latest d9e555c53008 3 minutes ago 195MB
          gordon/get-started part2 d9e555c53008 3 minutes ago 195MB


          This means they reference the same data. If you then do a docker rmi friendlyhello then it won't delete anything, just remove the tag.






          share|improve this answer























            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%2f509604%2fdoes-tagging-a-docker-image-create-a-copy-of-the-image%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









            2














            No, a copy is not made.



            You can tell this because the Image ID value is identical:



            friendlyhello latest d9e555c53008 3 minutes ago 195MB
            gordon/get-started part2 d9e555c53008 3 minutes ago 195MB


            This means they reference the same data. If you then do a docker rmi friendlyhello then it won't delete anything, just remove the tag.






            share|improve this answer



























              2














              No, a copy is not made.



              You can tell this because the Image ID value is identical:



              friendlyhello latest d9e555c53008 3 minutes ago 195MB
              gordon/get-started part2 d9e555c53008 3 minutes ago 195MB


              This means they reference the same data. If you then do a docker rmi friendlyhello then it won't delete anything, just remove the tag.






              share|improve this answer

























                2












                2








                2







                No, a copy is not made.



                You can tell this because the Image ID value is identical:



                friendlyhello latest d9e555c53008 3 minutes ago 195MB
                gordon/get-started part2 d9e555c53008 3 minutes ago 195MB


                This means they reference the same data. If you then do a docker rmi friendlyhello then it won't delete anything, just remove the tag.






                share|improve this answer













                No, a copy is not made.



                You can tell this because the Image ID value is identical:



                friendlyhello latest d9e555c53008 3 minutes ago 195MB
                gordon/get-started part2 d9e555c53008 3 minutes ago 195MB


                This means they reference the same data. If you then do a docker rmi friendlyhello then it won't delete anything, just remove the tag.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                Stephen HarrisStephen Harris

                27.2k35283




                27.2k35283



























                    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%2f509604%2fdoes-tagging-a-docker-image-create-a-copy-of-the-image%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.