无法启动wolkenkit

时间:2019-07-09 17:04:43

标签: docker wolkenkit

我尝试在Ubuntu 18.04上使用Node.js v.node v10.13.0运行wolkenkit(v3.1.0)  使用官方的tutorial,但是当我尝试在示例聊天应用程序目录中启动该框架时,该框架会抱怨:

  $ wolkenkit start --verbose
  Starting the application...
  Failed to reach Docker server.
  Failed to start the application.
  Docker not reachable.
  DockerNotReachable: Docker not reachable.
    at Object._callee$ (~/.nvm/versions/node/v10.13.0/lib/node_modules/wolkenkit/dist/docker/ping.js:98:19)
    at tryCatch (~/.nvm/versions/node/v10.13.0/lib/node_modules/wolkenkit/node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:62:40)
    at Generator.invoke [as _invoke] (~/.nvm/versions/node/v10.13.0/lib/node_modules/wolkenkit/node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:288:22)
    at Generator.prototype.(anonymous function) [as throw] (~/.nvm/versions/node/v10.13.0/lib/node_modules/wolkenkit/node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:114:21)
    at asyncGeneratorStep (~/.nvm/versions/node/v10.13.0/lib/node_modules/wolkenkit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _throw (~/.nvm/versions/node/v10.13.0/lib/node_modules/wolkenkit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:29:9)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Docker已设置并运行:

$ sudo service docker status
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-07-09 18:47:51 CEST; 9min ago
     Docs: https://docs.docker.com
 Main PID: 11342 (dockerd)
    Tasks: 22
   CGroup: /system.slice/docker.service
           └─11342 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

以及所需的版本:

$ docker --version
Docker version 18.09.7, build 2d0083d

我在这里有什么要忘记的吗?

1 个答案:

答案 0 :(得分:1)

多亏了这些评论,我发现wolkenkit所需的docker version --format "{{json .}}在没有root特权的情况下无法正确运行。

使用sudo wolkenkit start调用wolkenkit解决了该问题。