Hello, I’m trying to run Lando with the Drupal 8 recipe (lando init
).
I already had installed Docker from official repos, then installed Lando (not git version) from AUR.
When trying to lando start
an app in the directory containing my code, I first got this error:
Unhandled rejection Error: Could not automatically start the Docker Daemon. Please manually start it to continue.
at /snapshot/lando/build/cli/lib/daemon.js
From previous event:
at LandoDaemon.up (/snapshot/lando/build/cli/lib/daemon.js)
at Object.eventWrapper (/snapshot/lando/build/cli/lib/router.js)
at Engine.engineCmd (/snapshot/lando/build/cli/lib/engine.js)
at Engine.list (/snapshot/lando/build/cli/lib/engine.js)
at AsyncEvents.<anonymous> (/snapshot/lando/build/cli/plugins/lando-core/app.js)
at AsyncEvents.handle (/snapshot/lando/build/cli/lib/events.js)
at /snapshot/lando/build/cli/lib/events.js
From previous event:
at AsyncEvents.emit (/snapshot/lando/build/cli/lib/events.js)
at /snapshot/lando/build/cli/lib/app.js
From previous event:
at App.init (/snapshot/lando/build/cli/lib/app.js)
at /snapshot/lando/build/cli/bin/lando.js
From previous event:
at Object.<anonymous> (/snapshot/lando/build/cli/bin/lando.js)
at Module._compile (pkg/prelude/bootstrap.js:1320:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1156:10)
at Module.load (internal/modules/cjs/loader.js:984:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1375:12)
at internal/main/run_main_module.js:17:47
Unhandled rejection Error: Could not automatically start the Docker Daemon. Please manually start it to continue.
at /snapshot/lando/build/cli/lib/daemon.js
From previous event:
at LandoDaemon.up (/snapshot/lando/build/cli/lib/daemon.js)
at Object.eventWrapper (/snapshot/lando/build/cli/lib/router.js)
at Engine.engineCmd (/snapshot/lando/build/cli/lib/engine.js)
at Engine.list (/snapshot/lando/build/cli/lib/engine.js)
at AsyncEvents.<anonymous> (/snapshot/lando/build/cli/plugins/lando-core/app.js)
at AsyncEvents.handle (/snapshot/lando/build/cli/lib/events.js)
at /snapshot/lando/build/cli/lib/events.js
From previous event:
at AsyncEvents.emit (/snapshot/lando/build/cli/lib/events.js)
at /snapshot/lando/build/cli/lib/app.js
From previous event:
at App.init (/snapshot/lando/build/cli/lib/app.js)
at /snapshot/lando/build/cli/bin/lando.js
From previous event:
at Object.<anonymous> (/snapshot/lando/build/cli/bin/lando.js)
at Module._compile (pkg/prelude/bootstrap.js:1320:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1156:10)
at Module.load (internal/modules/cjs/loader.js:984:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1375:12)
at internal/main/run_main_module.js:17:47
I started docker: sudo systemctl start docker
and tried lando restart
again:
Stopping and restarting your app...Shiny!
WARN ==> docker is not running!
Starting docker up before we begin... please wait...
[sudo] Passwort für ben:
ERROR ==> Could not automatically start the Docker Daemon. Please manually start it to continue.
To check on Docker, I did
[ben@paul-mnj cms-intro]$ sudo systemctl status docker
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2020-10-06 20:14:55 CEST; 19min ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 26358 (dockerd)
Tasks: 13
Memory: 120.9M
CGroup: /system.slice/docker.service
└─26358 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.393887216+02:00" level=warning msg="Your kernel does not support cgroup blkio weight"
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.393892779+02:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.394062733+02:00" level=info msg="Loading containers: start."
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.483291380+02:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --b>
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.518274091+02:00" level=info msg="Loading containers: done."
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.577697834+02:00" level=warning msg="Not using native diff for overlay2, this may cause degraded performance for building >
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.577934282+02:00" level=info msg="Docker daemon" commit=48a66213fe graphdriver(s)=overlay2 version=19.03.12-ce
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.578271231+02:00" level=info msg="Daemon has completed initialization"
Okt 06 20:14:55 paul-mnj systemd[1]: Started Docker Application Container Engine.
Okt 06 20:14:55 paul-mnj dockerd[26358]: time="2020-10-06T20:14:55.598784111+02:00" level=info msg="API listen on /run/docker.sock"
So yeah, Docker is runnning, but Lando thinks it isn’t… what gives?