mirror of
https://github.com/RD17/ambar.git
synced 2026-04-25 15:35:49 +03:00
[GH-ISSUE #18] All top level keys in your docker-compose.yml must map to a dictionary of configuration options. #16
Labels
No labels
$$ Paid Support
bug
bug
enhancement
help wanted
invalid
pull-request
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ambar#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thebetterjort on GitHub (Apr 17, 2017).
Original GitHub issue: https://github.com/RD17/ambar/issues/18
wget -O ambar.py https://static.ambar.cloud/ambar.py && chmod +x ./ambar.pysudo ./ambar.py installERROR: In file '/home/username/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 237, in
install(configuration)
File "./ambar.py", line 180, 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/username/ambar/docker-compose.yml pull' returned non-zero exit status 1
Not sure what I have done to deserve this treatment.
@thebetterjort commented on GitHub (Apr 17, 2017):
This appears to be related more with docker than this package.
Steps to solve:
apt remove docker docker-engine
install docker-ce or docker-ee
which is the proper way to install
I had an old script, apt install docker.io that created this issue.