Local Wordpress Development on M1 Macbook with 10up WP Local Docker 10updocker

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии • 9

  •  2 года назад +3

    Hey Code Fallacy, thanks for your video! Only one suggestion: the current default image for dnsmasq is andyshinn/dnsmasq. But, this image work with amd64 and it will make a issue with consuming memory on Macs with M1. Also, this image are moved to 4km3/dnsmasq. As the information here: hub.docker.com/r/andyshinn/dnsmasq. So, the suggestion is change the andyshinn/dnsmasq => 4km3/dnsmasq:latest for use arm64 arch and solve the memory issue. Thanks!

    • @codefallacy
      @codefallacy  2 года назад +1

      awesome! this is super insightful, ill check this image out. ive been using gabrielaraujof/dnsmasq-armhf which has been able to run on arm natively.

  • @speedwolf
    @speedwolf 2 года назад

    This tutorial really helped me out. I only get the "Welcome to nginx!" "…further configuration is required" when hitting the test URL though. Any ideas why that might be? This in on M1 Monterey.

    • @codefallacy
      @codefallacy  2 года назад +1

      Hey sorry for the late reply. Did you get it working? if not, which release of 10up wp-local-docker are you using? i haven't had any luck with version 3.0 so i went back to version 2.8. On the M1 the best results i've had is with Node 14 and version 2.8 of wp-local-docker. Let me know if you tried this and still have issues.

    • @speedwolf
      @speedwolf 2 года назад +1

      @@codefallacy I reinstalled from scratch and it works. At some point I think I may have changed the DNS service and it messed things up. 👍

    • @codefallacy
      @codefallacy  2 года назад

      @@speedwolf awesome. if you have an M1/m2 macbook you can change the andyshinn/dnsmasq to a arm compatible version for even better performance. i pinned a comment on this video of a viewer who suggested the change and it works great

  • @VladimirNikishin1
    @VladimirNikishin1 3 года назад

    Thanks for video, man. Pls, explain how to view the database with the Sequel Pro?

    • @codefallacy
      @codefallacy  3 года назад

      you just need to connect sequel pro to localhost(127.0.0.1) port:3306 username; root password: password

    • @VladimirNikishin1
      @VladimirNikishin1 3 года назад

      @@codefallacy thx