Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 尝试使用docker运行无服务器应用程序时出错_Node.js_Docker_Serverless Framework - Fatal编程技术网

Node.js 尝试使用docker运行无服务器应用程序时出错

Node.js 尝试使用docker运行无服务器应用程序时出错,node.js,docker,serverless-framework,Node.js,Docker,Serverless Framework,输入命令时,在本地无服务器模式下运行应用程序时遇到问题: sls invoke local -f hello --docker 我在控制台上看到错误: Error: Please start the Docker daemon to use the invoke local Docker integration. at /usr/lib/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:254:13

输入命令时,在本地无服务器模式下运行应用程序时遇到问题:

sls invoke local -f hello --docker
我在控制台上看到错误:

Error: Please start the Docker daemon to use the invoke local Docker integration.
      at /usr/lib/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:254:13
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
码头工人在操作,有人能帮我吗