azukiapp/azk

azk start - errors.dependencies.linux.network

Opened this issue · 0 comments

  • What are you trying do accomplish?

azk start

  • Output
azk: Please wait, this process may take several minutes
azk: Loading settings and checking dependencies.
azk: Checking version...
azk: azk 0.18.0 detected
azk: Adding 172.17.0.1 to /etc/resolver/dev.azk.io ...

+ /usr/bin/sudo mkdir -p /etc/resolver
azk: errors.dependencies.linux.network
azk: azk agent is required but is not running (try `azk agent status`)

azk agent status

azk: Agent is not running (try: `azk agent start`).

azk agent start

azk: Please wait, this process may take several minutes
azk: Loading settings and checking dependencies.
azk: Checking version...
azk: azk 0.18.0 detected
azk: Adding 172.17.0.1 to /etc/resolver/dev.azk.io ...

+ /usr/bin/sudo mkdir -p /etc/resolver
azk: errors.dependencies.linux.network

OS Fedora 24

Azkfile.js

systems({
  "my-app": {
    // Dependent systems
    depends: [], // postgres, mysql, mongodb ...
    // More images:  http://images.azk.io
    image: {"docker": "azukiapp/php-apache"},
    // Steps to execute before running instances
    provision: [
      // "composer install",
    ],
    workdir: "/azk/#{manifest.dir}",
    shell: "/bin/bash",
    command: "# command to run app",
    wait: {"retry": 20, "timeout": 1000},
    mounts: {
      '/azk/#{manifest.dir}': path("."),
    },
    scalable: {"default": 1},
    http: {
      // my-app.dev.azk.io
      domains: [ "#{system.name}.#{azk.default_domain}" ]
    },
    ports: {
      // exports global variables
      http: "80/tcp",
    },
    envs: {
      // set instances variables
      APP_DIR: "/azk/#{manifest.dir}",
    },
  },
});

azk version --full

Version   : azk version 0.18.0, build 8b9f66c, date 2016-04-06
OS        : Linux 4.6 (x64), Memory: 7871MB
Agent     : Stopped
Docker    : 1.10.3 (CLI)
Uses VM   : No
VirtualBox: N/A