如何使用 Lando 和 Docker for windows 查看本地主机站点?
How do I view localhost site with Lando and Docker for windows?
我能够为 windows 成功安装 Lando 和 Docker。我可以使用 lando init pantheon
初始化目录,然后执行 lando start
命令。我从万神殿导入了数据库。如何在本地主机上查看网站?
这可能可以通过 windows 上的 ipconfig /all
解决。
根据 Lando Docs,应用可以在本地访问为:
Windows :
Open a command prompt and enter the command ipconfig /all and look for
the "IPv4 Address" for the network adapter you use to connect to the
Internet. Make sure NOT to use the IP address of the Docker network
adapter. It should be a number like 192.168.0.123.
此外,您可以查看 lando info
以获取有关该应用程序的信息。
在 lando 启动命令的输出中,您应该看到像
这样的 EDGE URL
我能够为 windows 成功安装 Lando 和 Docker。我可以使用 lando init pantheon
初始化目录,然后执行 lando start
命令。我从万神殿导入了数据库。如何在本地主机上查看网站?
这可能可以通过 windows 上的 ipconfig /all
解决。
根据 Lando Docs,应用可以在本地访问为:
Windows :
Open a command prompt and enter the command ipconfig /all and look for the "IPv4 Address" for the network adapter you use to connect to the Internet. Make sure NOT to use the IP address of the Docker network adapter. It should be a number like 192.168.0.123.
此外,您可以查看 lando info
以获取有关该应用程序的信息。
在 lando 启动命令的输出中,您应该看到像
这样的 EDGE URL