Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

// , Ubuntu 16.04: Docker Compose YAML File Errors #9

Open
v6 opened this issue Jan 30, 2017 · 2 comments
Open

// , Ubuntu 16.04: Docker Compose YAML File Errors #9

v6 opened this issue Jan 30, 2017 · 2 comments

Comments

@v6
Copy link

v6 commented Jan 30, 2017

// , Hi! Glad to see you at the conference.

I ended up with the following error when I attempted to use the connectathon instructions:

Linux nathanbasanese 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

https://0bin.net/paste/xy-AHzZ78zs55L-f#HhRr67uPGh-f1J5t7usjzhAe4p3db3gXQ0aqxq9y6xB
The link above expires upon March 2.

The main error I'm getting is as follows:

nathan@nathanbasanese:~/proj/connectathon/marbles$ ./marbles.sh up riskbazaar oOvYNjxVHPxc RiskBazaar pmyymgf alexandra riskbazaar
Using default tag: latest
latest: Pulling from connectathon/fabric-ccenv
Digest: sha256:4a3afd68767a53bf9c8dd4a2ad58227a5da40f203d24513ac902f29b9154f908
Status: Image is up to date for connectathon/fabric-ccenv:latest
ERROR: In file './docker-compose-no-cdb.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.
ERROR: In file './docker-compose-no-cdb.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.
nathan@nathanbasanese:~/proj/connectathon/marbles$

Perhaps I have an error with my docker-compose:

nathan@nathanbasanese:~/proj/connectathon/marbles$ docker-compose -v 
docker-compose version 1.5.2, build unknown
nathan@nathanathanasanese:~/proj/connectathon/marbles$ sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
78445dd45222: Pull complete 
Digest: sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7

Even if this is my own fault, I hope that posting this github issue helps someone find a solution for themselves.

@masterDev1985
Copy link

It looks like your version of docker-compose doesn't recognize the version tag at the top of the docker compose files and is interpreting it as the name of a service. Try updating docker and docker-compose. I'm betting that will resolve the issue.

@v6
Copy link
Author

v6 commented Feb 21, 2017

// , Alas, it did not. I'm going to try it on some other machines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants