docker - Lando-错误:未找到appserver_1的容器

标签 docker lando

Lando的新手。
lando-v3.0.0-beta.44.exe上安装了Win10 64我遇到错误,希望澄清一些问题,这是我的.lando.yml

name: myapp
recipe: lamp
config:
  php: 7.2
  webroot: .
  database: 'mariadb:10.0'

lando start一切顺利...直到ERROR: No container found for appserver_1
Starting landoproxyhyperion5000gandalfedition_proxy_1 ... done
Creating network "myapp_default" with the default driver
Creating volume "myapp_data" with default driver
Creating volume "myapp_appserver" with default driver
Creating volume "myapp_data_database" with default driver
Creating myapp_database_1  ... done
Creating myapp_appserver_1 ... done
Waiting until appserver service is ready...
Waiting until database service is ready...
Waiting until database service is ready...
Waiting until database service is ready...
Waiting until database service is ready...
Waiting until database service is ready...
Waiting until database service is ready...
ERROR: No container found for appserver_1
error: Looks like one of your build steps failed...
warn: This **MAY** prevent your app from working
warn: Check for errors above, fix them, and try again

BOOMSHAKALAKA!!!

Your app has started up correctly.
Here are some vitals:

 NAME            myapp
 LOCATION        C:\Users\username\Documents\htdocs\basicapp
 SERVICES        appserver, database
 APPSERVER URLS  http://myapp.lndo.site
                 https://myapp.lndo.site

当我在浏览器URL中输入http://myapp.lndo.site时,我得到Unable to connect

感谢您提供有关此错误的内容和解决方法的任何帮助。

编辑修复是卸载Docker和Lando,然后重新安装Docker并安装旧版本的Lando。

最佳答案

首次运行“lando start”时,您可能会遇到与SSL证书相关的仍在处理的错误。您需要再次运行“lando start”,然后它可能对您有用。

关于docker - Lando-错误:未找到appserver_1的容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50183056/

相关文章:

docker - 使 pdb 与 docker 一起工作

python - 滑子/RabbitMQ : OSError: Server unexpectedly closed connection

docker - 在 drupal 模板项目上运行 Lando start 或 rebuild 后,如何阻止此错误返回

mysql - 兰多-mysqldump : Got error: 2002: Can't connect to local MySQL server

wordpress - Lando 无法从我系统上的非 Lando 应用程序访问 URL

docker - "docker stop"、 "docker kill"和 "docker -f rm"都不起作用

angular - Docker 容器不会重新加载 Angular 应用程序

Dockerfile COPY 获取文件的陈旧副本?

php - 在Lando环境中进行编辑后,自动加载的php代码未更新