Magento 2 docker install: What is my admin user and password.





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have a Magento 2 installation using Docker as can be found here: https://github.com/ajmyers01/magento_docker



I have the site spinning up and can see the storefront, and when I go to access the admin url and log in using the credentials I specified in my docker-compose file it doesn't work and doesn't give an error message.



I'm unsure how to login, any insight as to, if my docker-compose isn't set up correctly to set the admin user, if there is a default admin user. Feel free to pull the repo and attempt it yourself. Thanks










share|improve this question














bumped to the homepage by Community 16 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    I have a Magento 2 installation using Docker as can be found here: https://github.com/ajmyers01/magento_docker



    I have the site spinning up and can see the storefront, and when I go to access the admin url and log in using the credentials I specified in my docker-compose file it doesn't work and doesn't give an error message.



    I'm unsure how to login, any insight as to, if my docker-compose isn't set up correctly to set the admin user, if there is a default admin user. Feel free to pull the repo and attempt it yourself. Thanks










    share|improve this question














    bumped to the homepage by Community 16 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I have a Magento 2 installation using Docker as can be found here: https://github.com/ajmyers01/magento_docker



      I have the site spinning up and can see the storefront, and when I go to access the admin url and log in using the credentials I specified in my docker-compose file it doesn't work and doesn't give an error message.



      I'm unsure how to login, any insight as to, if my docker-compose isn't set up correctly to set the admin user, if there is a default admin user. Feel free to pull the repo and attempt it yourself. Thanks










      share|improve this question














      I have a Magento 2 installation using Docker as can be found here: https://github.com/ajmyers01/magento_docker



      I have the site spinning up and can see the storefront, and when I go to access the admin url and log in using the credentials I specified in my docker-compose file it doesn't work and doesn't give an error message.



      I'm unsure how to login, any insight as to, if my docker-compose isn't set up correctly to set the admin user, if there is a default admin user. Feel free to pull the repo and attempt it yourself. Thanks







      magento2 admin magento-2.0






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 8 '16 at 16:00









      P3rishableP3rishable

      31




      31





      bumped to the homepage by Community 16 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 16 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          Hello if you check the file: https://github.com/ajmyers01/magento_docker/blob/master/docker-compose.yml



          You can see:



              environment:
          ...
          - M2SETUP_ADMIN_USER=magento2
          - M2SETUP_ADMIN_PASSWORD=magento2
          ...





          share|improve this answer
























          • Yes, I know what I configured, and I tried that but it doesn't let me log in and doesn't throw and error. I think it may be getting overwritten some where else.

            – P3rishable
            Mar 8 '16 at 16:46











          • Check your database admin_user: select * from admin_user and check that you have an admin user called magento2

            – osrecio
            Mar 8 '16 at 17:01






          • 1





            You can also create another admin user.

            – Steve Johnson
            Mar 8 '16 at 17:27











          • I've confirmed that the user exists, and is active.

            – P3rishable
            Mar 8 '16 at 19:02











          • Clear cache recompile-di

            – osrecio
            Mar 8 '16 at 19:23



















          0














          Looking on your files the user and password are magento2, but you can use this command to show all users:



          php bin/magento admin:user:list


          To show:



          +----+-----------------+-------------------------------+--------+
          | id | username | email | status |
          +----+-----------------+-------------------------------+--------+
          | 1 | admin | admin@example.com | active |
          | 2 | nextadmin | nextadmin@example.com | active |
          +----+-----------------+-------------------------------+--------+


          To change the password you can use:



          php bin/magento admin:user:change-password


          And to create a new:



          php bin/magento admin:user:create --admin-user=admin --admin-password=admin123 --admin-email=admin@magento.tld --admin-firstname=admin --admin-lastname=admin





          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            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%2fmagento.stackexchange.com%2fquestions%2f105272%2fmagento-2-docker-install-what-is-my-admin-user-and-password%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Hello if you check the file: https://github.com/ajmyers01/magento_docker/blob/master/docker-compose.yml



            You can see:



                environment:
            ...
            - M2SETUP_ADMIN_USER=magento2
            - M2SETUP_ADMIN_PASSWORD=magento2
            ...





            share|improve this answer
























            • Yes, I know what I configured, and I tried that but it doesn't let me log in and doesn't throw and error. I think it may be getting overwritten some where else.

              – P3rishable
              Mar 8 '16 at 16:46











            • Check your database admin_user: select * from admin_user and check that you have an admin user called magento2

              – osrecio
              Mar 8 '16 at 17:01






            • 1





              You can also create another admin user.

              – Steve Johnson
              Mar 8 '16 at 17:27











            • I've confirmed that the user exists, and is active.

              – P3rishable
              Mar 8 '16 at 19:02











            • Clear cache recompile-di

              – osrecio
              Mar 8 '16 at 19:23
















            0














            Hello if you check the file: https://github.com/ajmyers01/magento_docker/blob/master/docker-compose.yml



            You can see:



                environment:
            ...
            - M2SETUP_ADMIN_USER=magento2
            - M2SETUP_ADMIN_PASSWORD=magento2
            ...





            share|improve this answer
























            • Yes, I know what I configured, and I tried that but it doesn't let me log in and doesn't throw and error. I think it may be getting overwritten some where else.

              – P3rishable
              Mar 8 '16 at 16:46











            • Check your database admin_user: select * from admin_user and check that you have an admin user called magento2

              – osrecio
              Mar 8 '16 at 17:01






            • 1





              You can also create another admin user.

              – Steve Johnson
              Mar 8 '16 at 17:27











            • I've confirmed that the user exists, and is active.

              – P3rishable
              Mar 8 '16 at 19:02











            • Clear cache recompile-di

              – osrecio
              Mar 8 '16 at 19:23














            0












            0








            0







            Hello if you check the file: https://github.com/ajmyers01/magento_docker/blob/master/docker-compose.yml



            You can see:



                environment:
            ...
            - M2SETUP_ADMIN_USER=magento2
            - M2SETUP_ADMIN_PASSWORD=magento2
            ...





            share|improve this answer













            Hello if you check the file: https://github.com/ajmyers01/magento_docker/blob/master/docker-compose.yml



            You can see:



                environment:
            ...
            - M2SETUP_ADMIN_USER=magento2
            - M2SETUP_ADMIN_PASSWORD=magento2
            ...






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 8 '16 at 16:37









            osrecioosrecio

            1,410516




            1,410516













            • Yes, I know what I configured, and I tried that but it doesn't let me log in and doesn't throw and error. I think it may be getting overwritten some where else.

              – P3rishable
              Mar 8 '16 at 16:46











            • Check your database admin_user: select * from admin_user and check that you have an admin user called magento2

              – osrecio
              Mar 8 '16 at 17:01






            • 1





              You can also create another admin user.

              – Steve Johnson
              Mar 8 '16 at 17:27











            • I've confirmed that the user exists, and is active.

              – P3rishable
              Mar 8 '16 at 19:02











            • Clear cache recompile-di

              – osrecio
              Mar 8 '16 at 19:23



















            • Yes, I know what I configured, and I tried that but it doesn't let me log in and doesn't throw and error. I think it may be getting overwritten some where else.

              – P3rishable
              Mar 8 '16 at 16:46











            • Check your database admin_user: select * from admin_user and check that you have an admin user called magento2

              – osrecio
              Mar 8 '16 at 17:01






            • 1





              You can also create another admin user.

              – Steve Johnson
              Mar 8 '16 at 17:27











            • I've confirmed that the user exists, and is active.

              – P3rishable
              Mar 8 '16 at 19:02











            • Clear cache recompile-di

              – osrecio
              Mar 8 '16 at 19:23

















            Yes, I know what I configured, and I tried that but it doesn't let me log in and doesn't throw and error. I think it may be getting overwritten some where else.

            – P3rishable
            Mar 8 '16 at 16:46





            Yes, I know what I configured, and I tried that but it doesn't let me log in and doesn't throw and error. I think it may be getting overwritten some where else.

            – P3rishable
            Mar 8 '16 at 16:46













            Check your database admin_user: select * from admin_user and check that you have an admin user called magento2

            – osrecio
            Mar 8 '16 at 17:01





            Check your database admin_user: select * from admin_user and check that you have an admin user called magento2

            – osrecio
            Mar 8 '16 at 17:01




            1




            1





            You can also create another admin user.

            – Steve Johnson
            Mar 8 '16 at 17:27





            You can also create another admin user.

            – Steve Johnson
            Mar 8 '16 at 17:27













            I've confirmed that the user exists, and is active.

            – P3rishable
            Mar 8 '16 at 19:02





            I've confirmed that the user exists, and is active.

            – P3rishable
            Mar 8 '16 at 19:02













            Clear cache recompile-di

            – osrecio
            Mar 8 '16 at 19:23





            Clear cache recompile-di

            – osrecio
            Mar 8 '16 at 19:23













            0














            Looking on your files the user and password are magento2, but you can use this command to show all users:



            php bin/magento admin:user:list


            To show:



            +----+-----------------+-------------------------------+--------+
            | id | username | email | status |
            +----+-----------------+-------------------------------+--------+
            | 1 | admin | admin@example.com | active |
            | 2 | nextadmin | nextadmin@example.com | active |
            +----+-----------------+-------------------------------+--------+


            To change the password you can use:



            php bin/magento admin:user:change-password


            And to create a new:



            php bin/magento admin:user:create --admin-user=admin --admin-password=admin123 --admin-email=admin@magento.tld --admin-firstname=admin --admin-lastname=admin





            share|improve this answer




























              0














              Looking on your files the user and password are magento2, but you can use this command to show all users:



              php bin/magento admin:user:list


              To show:



              +----+-----------------+-------------------------------+--------+
              | id | username | email | status |
              +----+-----------------+-------------------------------+--------+
              | 1 | admin | admin@example.com | active |
              | 2 | nextadmin | nextadmin@example.com | active |
              +----+-----------------+-------------------------------+--------+


              To change the password you can use:



              php bin/magento admin:user:change-password


              And to create a new:



              php bin/magento admin:user:create --admin-user=admin --admin-password=admin123 --admin-email=admin@magento.tld --admin-firstname=admin --admin-lastname=admin





              share|improve this answer


























                0












                0








                0







                Looking on your files the user and password are magento2, but you can use this command to show all users:



                php bin/magento admin:user:list


                To show:



                +----+-----------------+-------------------------------+--------+
                | id | username | email | status |
                +----+-----------------+-------------------------------+--------+
                | 1 | admin | admin@example.com | active |
                | 2 | nextadmin | nextadmin@example.com | active |
                +----+-----------------+-------------------------------+--------+


                To change the password you can use:



                php bin/magento admin:user:change-password


                And to create a new:



                php bin/magento admin:user:create --admin-user=admin --admin-password=admin123 --admin-email=admin@magento.tld --admin-firstname=admin --admin-lastname=admin





                share|improve this answer













                Looking on your files the user and password are magento2, but you can use this command to show all users:



                php bin/magento admin:user:list


                To show:



                +----+-----------------+-------------------------------+--------+
                | id | username | email | status |
                +----+-----------------+-------------------------------+--------+
                | 1 | admin | admin@example.com | active |
                | 2 | nextadmin | nextadmin@example.com | active |
                +----+-----------------+-------------------------------+--------+


                To change the password you can use:



                php bin/magento admin:user:change-password


                And to create a new:



                php bin/magento admin:user:create --admin-user=admin --admin-password=admin123 --admin-email=admin@magento.tld --admin-firstname=admin --admin-lastname=admin






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 8 '17 at 4:51









                Rafael Corrêa GomesRafael Corrêa Gomes

                4,64023365




                4,64023365






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento 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%2fmagento.stackexchange.com%2fquestions%2f105272%2fmagento-2-docker-install-what-is-my-admin-user-and-password%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

                    What other Star Trek series did the main TNG cast show up in?

                    Berlina muro

                    Berlina aerponto