#はじめに
Ubuntu20.04のwardenのmagentoの環境構築にて詰まったところを記載しました。
最終更新日
2022年3月4日
環境の情報
OS
Ubuntu20.04
注意
最新の状態を確認して下さい。
公式はこちら
参考さま
状況
Global Services
https://docs.warden.dev/services.html
Installing Magento 2
https://docs.warden.dev/environments/magento2.html
Automatic DNS Resolution
https://docs.warden.dev/configuration/dns-resolver.html
のドキュメントに従って、wardenにてmagentoの環境構築を行っていたが、
After running warden svc up for the first time following installation,
the following URLs can be used to interact with the UIs for services Warden runs globally:
の個所が表示されない。
起動に成功したら、以下のURLで確認できるはずだが、どれを叩いても、アクセスできません、のようになってしまう。
・https://traefik.warden.test/
・https://portainer.warden.test/
・https://dnsmasq.warden.test/
・https://mailhog.warden.test/
このようにしました
resolv.confに、nameserver 127.0.0.1 を加えました。
sudo vi /etc/resolv.conf
nameserver 127.0.0.1
「/etc/resolv.conf」ファイルは、名前解決(ホスト名からIPアドレスを調べること)の設定を行うファイルです。
https://linuc.org/study/knowledge/507/