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

Main docker-compose affects the docker-compose-build #219

Open
numeroteca opened this issue Dec 13, 2018 · 0 comments
Open

Main docker-compose affects the docker-compose-build #219

numeroteca opened this issue Dec 13, 2018 · 0 comments
Labels

Comments

@numeroteca
Copy link
Member

I get this error (related to #218). Wondering how important is to solve this (how many people with try to switch between this two ways of working?):

  1. I run docker-compose -f docker-compose-build.yml up -d --build and it works good (works with my locally modified files).
  2. Then I run docker-compose up and it works good. I access another instance.
  3. Then I run docker-compose -f docker-compose-build.yml up -d --buildand I get this error and it doesn't launch the app:
Building app_build
Traceback (most recent call last):
  File "site-packages/docker/utils/build.py", line 179, in create_archive
PermissionError: [Errno 13] Permission denied: '/home/numeroteca/sites/pageonex/app/assets/images/threads/1/2/970/results.zip'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "bin/docker-compose", line 6, in <module>
  File "compose/cli/main.py", line 71, in main
  File "compose/cli/main.py", line 127, in perform_command
  File "compose/cli/main.py", line 1052, in up
  File "compose/cli/main.py", line 1048, in up
  File "compose/project.py", line 466, in up
  File "compose/service.py", line 329, in ensure_image_exists
  File "compose/service.py", line 1047, in build
  File "site-packages/docker/api/build.py", line 154, in build
  File "site-packages/docker/utils/build.py", line 31, in tar
  File "site-packages/docker/utils/build.py", line 183, in create_archive
OSError: Can not read file in context: /home/numeroteca/sites/pageonex/app/assets/images/threads/1/2/970/results.zip
[1441] Failed to execute script docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant