Docker 'run' command to start apache

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











up vote
0
down vote

favorite












docker run -d -p 8080:8080 my-apache2:latest


Unable to find image 'my-apache2:latest' locally
docker: Error response from daemon: repository my-apache2 not found: does not exist or no pull access.



P.S. It works with Nginx(docker run -d -p 80:80 nginx:latest), I can see the image using docker ps







share|improve this question

























    up vote
    0
    down vote

    favorite












    docker run -d -p 8080:8080 my-apache2:latest


    Unable to find image 'my-apache2:latest' locally
    docker: Error response from daemon: repository my-apache2 not found: does not exist or no pull access.



    P.S. It works with Nginx(docker run -d -p 80:80 nginx:latest), I can see the image using docker ps







    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      docker run -d -p 8080:8080 my-apache2:latest


      Unable to find image 'my-apache2:latest' locally
      docker: Error response from daemon: repository my-apache2 not found: does not exist or no pull access.



      P.S. It works with Nginx(docker run -d -p 80:80 nginx:latest), I can see the image using docker ps







      share|improve this question













      docker run -d -p 8080:8080 my-apache2:latest


      Unable to find image 'my-apache2:latest' locally
      docker: Error response from daemon: repository my-apache2 not found: does not exist or no pull access.



      P.S. It works with Nginx(docker run -d -p 80:80 nginx:latest), I can see the image using docker ps









      share|improve this question












      share|improve this question




      share|improve this question








      edited May 30 at 18:53
























      asked May 30 at 6:15









      Ash Adams

      11




      11




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          Please try the following. (Ref: https://hub.docker.com/_/httpd/ )



          docker run -p 80:80 -d httpd:latest





          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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f446834%2fdocker-run-command-to-start-apache%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













            Please try the following. (Ref: https://hub.docker.com/_/httpd/ )



            docker run -p 80:80 -d httpd:latest





            share|improve this answer

























              up vote
              1
              down vote













              Please try the following. (Ref: https://hub.docker.com/_/httpd/ )



              docker run -p 80:80 -d httpd:latest





              share|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                Please try the following. (Ref: https://hub.docker.com/_/httpd/ )



                docker run -p 80:80 -d httpd:latest





                share|improve this answer













                Please try the following. (Ref: https://hub.docker.com/_/httpd/ )



                docker run -p 80:80 -d httpd:latest






                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered May 30 at 6:27









                Anveshak

                48628




                48628






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446834%2fdocker-run-command-to-start-apache%23new-answer', 'question_page');

                    );

                    Post as a guest