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?):
I run docker-compose -f docker-compose-build.yml up -d --build and it works good (works with my locally modified files).
Then I run docker-compose up and it works good. I access another instance.
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
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
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?):
docker-compose -f docker-compose-build.yml up -d --build
and it works good (works with my locally modified files).docker-compose up
and it works good. I access another instance.docker-compose -f docker-compose-build.yml up -d --build
and I get this error and it doesn't launch the app:During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "bin/docker-compose", line 6, in
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