tailhook / vagga

Vagga is a containerization tool without daemons
http://vagga.readthedocs.org
MIT License
1.86k stars 96 forks source link

Error when building dependent containers simultaneously #155

Closed tailhook closed 8 years ago

tailhook commented 8 years ago

Config:

containers:

  node:
    setup:
    - !Alpine v3.3
    - !Install [alpine-base, make]
    - !NpmDependencies
    environ:
      NODE_PATH: /usr/lib/node_modules
      HOME: /tmp

  doc:
    setup:
    - !Container node
    - !Install [py-sphinx, py-sphinx_rtd_theme]

Perhaps, something wrong with cache directory mounts. Here is an error:

OK: 93 MiB in 48 packages
OK: 93 MiB in 48 packages
ERROR:vagga::builder: Error building container "doc": Can't unmount /vagga/root/etc/apk/cache : No such file or directory (os error 2)
ERROR:vagga::wrapper: Error executing _build: Builder exited with code 1
tailhook commented 8 years ago

I've retried it and it looks okay. Probably the bug was once because of #161