[GH-ISSUE #2] ERROR: In file 'docker-compose.yml' service 'version' doesn't have any configuration options #1

Closed
opened 2026-02-27 15:54:24 +03:00 by kerem · 3 comments
Owner

Originally created by @repercussion on GitHub (Mar 31, 2017).
Original GitHub issue: https://github.com/RD17/ambar/issues/2

Trying to follow the blog post's instructions. Failed here:

ERROR: In file '/home/guy/.ambar/docker-compose.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.
Traceback (most recent call last):
  File "./ambar.py", line 224, in <module>
    install(configuration)
  File "./ambar.py", line 167, in install
    pullImages(configuration)
  File "./ambar.py", line 100, in pullImages
    runShellCommandStrict("docker-compose -f {0}/docker-compose.yml pull".format(PATH))
  File "./ambar.py", line 45, in runShellCommandStrict
    subprocess.check_call(command, shell = True)
  File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'docker-compose -f /home/guy/.ambar/docker-compose.yml pull' returned non-zero exit status 1
Originally created by @repercussion on GitHub (Mar 31, 2017). Original GitHub issue: https://github.com/RD17/ambar/issues/2 Trying to follow the blog post's instructions. Failed here: ``` ERROR: In file '/home/guy/.ambar/docker-compose.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. Traceback (most recent call last): File "./ambar.py", line 224, in <module> install(configuration) File "./ambar.py", line 167, in install pullImages(configuration) File "./ambar.py", line 100, in pullImages runShellCommandStrict("docker-compose -f {0}/docker-compose.yml pull".format(PATH)) File "./ambar.py", line 45, in runShellCommandStrict subprocess.check_call(command, shell = True) File "/usr/lib/python3.5/subprocess.py", line 581, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'docker-compose -f /home/guy/.ambar/docker-compose.yml pull' returned non-zero exit status 1 ```
kerem closed this issue 2026-02-27 15:54:24 +03:00
Author
Owner

@isido993 commented on GitHub (Mar 31, 2017):

What version of docker-compose are you using? You can view it by running docker-compose --version. Please provide us with this info, it seems like you have an old version of docker-compose.
Thnx.

<!-- gh-comment-id:290815108 --> @isido993 commented on GitHub (Mar 31, 2017): What version of `docker-compose` are you using? You can view it by running `docker-compose --version`. Please provide us with this info, it seems like you have an old version of `docker-compose`. Thnx.
Author
Owner

@sochix commented on GitHub (Apr 7, 2017):

@repercussion any news?

<!-- gh-comment-id:292464917 --> @sochix commented on GitHub (Apr 7, 2017): @repercussion any news?
Author
Owner

@repercussion commented on GitHub (Apr 11, 2017):

Let me boot this sucker up...

docker-compose version 1.5.2

I'll get that up to date and report back

<!-- gh-comment-id:293355043 --> @repercussion commented on GitHub (Apr 11, 2017): Let me boot this sucker up... docker-compose version 1.5.2 I'll get that up to date and report back
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ambar#1
No description provided.