stacker-cli
stacker-cli copied to clipboard
Got MemoryError from Docker Compose
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.