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

Got MemoryError from Docker Compose #20

Open
deiucanta opened this issue Mar 27, 2017 · 0 comments
Open

Got MemoryError from Docker Compose #20

deiucanta opened this issue Mar 27, 2017 · 0 comments

Comments

@deiucanta
Copy link

Running stacker up on a fresh machine throws the following error because docker downloads and extracts all the images.

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 9, in <module>
    load_entry_point('docker-compose==1.9.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python2.7/site-packages/compose/cli/main.py", line 65, in main
    command()
  File "/usr/lib/python2.7/site-packages/compose/cli/main.py", line 117, in perform_command
    handler(command, command_options)
  File "/usr/lib/python2.7/site-packages/compose/cli/main.py", line 862, in up
    log_printer.run()
  File "/usr/lib/python2.7/site-packages/compose/cli/log_printer.py", line 87, in run
    for line in consume_queue(queue, self.cascade_stop):
  File "/usr/lib/python2.7/site-packages/compose/cli/log_printer.py", line 229, in consume_queue
    raise item.exc
MemoryError

This is not related to Stacker but we should investigate on how to avoid it. It may be related to the RAM shortage (the machine has 512mb).

If you run stacker up the second time, everything works just as expected.

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

1 participant