首先我安装了 UBUNTU 14.04 64bit/32bit(也用 UBUNTU 16.04 64bit 尝试过)。
当我启动时mup setup
,我收到此错误消息:
----------------------------------
Started TaskList: Setup Docker
[xx.xx.xx.xx] - Setup Docker
[xx.xx.xx.xx] - Setup Docker: SUCCESS
Started TaskList: Setup Meteor
[xx.xx.xx.xx] - Setup Environment
[xx.xx.xx.xx] - Setup Environment: SUCCESS
Started TaskList: Setup Mongo
[xx.xx.xx.xx] - Setup Environment
[xx.xx.xx.xx] - Setup Environment: SUCCESS
[xx.xx.xx.xx] - Copying mongodb.conf
[xx.xx.xx.xx - Copying mongodb.conf: SUCCESS
Started TaskList: Start Mongo
[xx.xx.xx.xx] - Start Mongo
[xx.xx.xx.xx] x Start Mongo: FAILED
-----------------------------------STDERR-----------------------------------
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var
/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
-----------------------------------STDOUT-----------------------------------
----------------------------------------------------------------------------
我在 VPS 中创建了一个用户名并授予它以便在没有的情况下工作sudo
,我也尝试使用 root 访问权限,但始终出现相同的错误。
并在 VPS 内的所有内容之前启动此命令:apt-get update
这是我的MUP
版本:1.3.7(在 Windows 7 64 位下)
这里的mup.js
文件:
module.exports = {
servers: {
one: {
host: 'xx.xx.xx.xx',
username: 'myusername',
password: 'password',
}
},
meteor: {
name: 'myApp',
path: '../myApp',
servers: {
one: {}
},
buildOptions: {
serverOnly: true
},
env: {
ROOT_URL: 'https://m.domain.com',
MONGO_URL: 'mongodb://localhost/meteor'
},
docker:{
image: 'abernix/meteord:base'
},
deployCheckWaitTime: 96,
enableUploadProgressBar: false
},
mongo: {
oplog: true,
port: 27017,
version: '3.4.1',
servers: {
one: {}
}
}
};
当我尝试从 VPS 重新启动 docker 时,出现以下错误消息:
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
这里是日志中的错误:
Your Linux kernel version 2.6.32-042stab127.2 is not supported for running docker. Please upgrade your kernel to 3.10.0 or newer.