Coder Social home page Coder Social logo

Comments (5)

pkucherenk0 avatar pkucherenk0 commented on July 19, 2024 1

@dragon28 Hello.
Try:

  1. bundle install
  2. bundle exec rake render:config
  3. bundle exec rake service:all[start]

from microkube.

pkucherenk0 avatar pkucherenk0 commented on July 19, 2024 1

I suggest you update your docker version.

The "./compose/app.yaml" contains the line: "version: '3.6'" and if you will visit https://docs.docker.com/compose/compose-file/ you will see that 3.6 required docker version 18.02.0+.

My versions:
Docker version 18.09.0, build 4d60db4
docker-compose version 1.23.1, build b02f1306

from microkube.

dragon28 avatar dragon28 commented on July 19, 2024

@pkucherenk0

Thank you for the information.

Manage to perform bundle install and bundle exec rake render:config

However, when it come to bundle exec rake service:all[start]

~/microkube$ bundle exec rake service:all[start]
----- Starting the proxy -----
docker-compose up -d proxy
ERROR: Version in "./compose/app.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
rake aborted!
Command failed with status (1): [docker-compose up -d proxy...]
lib/tasks/service.rake:25:in `start'
lib/tasks/service.rake:7:in `call'
lib/tasks/service.rake:7:in `block (2 levels) in <top (required)>'
lib/tasks/service.rake:33:in `block (2 levels) in <top (required)>'
lib/tasks/service.rake:185:in `start'
lib/tasks/service.rake:7:in `call'
lib/tasks/service.rake:7:in `block (2 levels) in <top (required)>'
lib/tasks/service.rake:202:in `block (2 levels) in <top (required)>'
/home/dragon/.rbenv/versions/2.5.3/bin/bundle:23:in `load'
/home/dragon/.rbenv/versions/2.5.3/bin/bundle:23:in `<main>'
Tasks: TOP => service:proxy
(See full trace by running task with --trace)

docker-compose version:

~/microkube$ docker-compose version
docker-compose version 1.17.1, build unknown
docker-py version: 2.5.1
CPython version: 2.7.15rc1
OpenSSL version: OpenSSL 1.1.0g  2 Nov 2017

Thanks

from microkube.

dragon28 avatar dragon28 commented on July 19, 2024

I suggest you update your docker version.

The "./compose/app.yaml" contains the line: "version: '3.6'" and if you will visit https://docs.docker.com/compose/compose-file/ you will see that 3.6 required docker version 18.02.0+.

My versions:
Docker version 18.09.0, build 4d60db4
docker-compose version 1.23.1, build b02f1306

@pkucherenk0

My docker version information:

~/workbench$ docker version
Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:49:01 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:16:44 2018
  OS/Arch:          linux/amd64
  Experimental:     false

from microkube.

dragon28 avatar dragon28 commented on July 19, 2024

@pkucherenk0

Manage to fix it by upgrading the removing the old docker-compose and upgrade it to the latest version from the docker website.

Thank and I apologies for any inconvenient.

from microkube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.