Comments (10)
Hi,
What happens if you update to Docker Compose version 1.27+ or higher? 1.21 is back from 2018. 1.27+ supports certain features that might be related to this error.
from build-a-saas-app-with-flask.
that's a lot better, now I get through to
10% building 0/2 entries 2/2 dependencies 0/2 modulesBrowserslist: caniuse-lite is outdated. Please run:
webpack_1 | npx browserslist@latest --update-db
webpack_1 |
webpack_1 | Why you should do it regularly:
webpack_1 | https://github.com/browserslist/browserslist#browsers-data-updating
snakeeyes_web_1 exited with code 1
snakeeyes_worker_1 exited with code 1
37% building 1/2 entries 17/17 dependencies 7/8 modulesBrowserslist: caniuse-lite is outdated. Please run:
webpack_1 | npx browserslist@latest --update-db
webpack_1 |
webpack_1 | Why you should do it regularly:
webpack_1 | https://github.com/browserslist/browserslist#browsers-data-updating
99% end closing watch compilation[webpack-cli] [Error: EACCES: permission denied, mkdir '/app/public/fonts'] {
webpack_1 | errno: -13,
webpack_1 | code: 'EACCES',
webpack_1 | syscall: 'mkdir',
webpack_1 | path: '/app/public/fonts'
webpack_1 | }
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
snakeeyes_webpack_1 exited with code 2
from build-a-saas-app-with-flask.
What's the output of running id
from your terminal?
I'm guessing your user
and group
are not both set to 1000
? This is unfortunately an issue when wanting to run Docker containers as a non-root user and also wanting to use volumes. This issue only happens on native Linux btw but it can be worked around.
from build-a-saas-app-with-flask.
I get
uid=1001(azureuser) gid=1004(azureuser) groups=1004(azureuser),27(sudo),101(systemd-journal),117(docker),1001(ciusers),1002(_azbatchgrp),1003(_azbatchsudogrp)
from build-a-saas-app-with-flask.
I'm not familiar with Azure but is it possible to create a user there which has a uid:gid
of 1000?
from build-a-saas-app-with-flask.
I'm not very familiar with azure either. There is an existing user _azbatch with uid 1000 and group 1002
from build-a-saas-app-with-flask.
Are you using it as a dev machine or deploying to production?
from build-a-saas-app-with-flask.
currently dev
from build-a-saas-app-with-flask.
What if you follow the steps here https://askubuntu.com/a/167400 to change the azureuser
to 1000 for both the uid/gid? I'm not sure what the _azbatch
user is tho. I've never seen a cloud hosting provider not give its initial user 1000:1000
.
from build-a-saas-app-with-flask.
This has now been fixed in 30a0f34 which allows you to build and run your containers with a custom uid/gid.
from build-a-saas-app-with-flask.
Related Issues (20)
- Illegal instruction: 4 HOT 8
- Several questions for solution evaluation HOT 6
- Revisiting OS X Postgres permissions issue HOT 15
- Internal sever error and db reset issue on Mac HOT 3
- Error importing module add: HOT 12
- Error importing module db: HOT 5
- Getting blank responses from cat watch HOT 44
- Cannot access admin page HOT 2
- CSRF problem HOT 17
- Adding Custom CSS and JS HOT 9
- SMTPAuthenticationError 534 HOT 4
- Getting a ImportError when running with docker compose HOT 4
- redis need a version bump HOT 3
- gunicorn does not run on windows HOT 2
- ERROR when building HOT 4
- celery-beat KeyError 'Scheduler' HOT 16
- how can i configure postgresql over here can you help me out HOT 1
- ImportError: No module named abc HOT 2
- why not django? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-a-saas-app-with-flask.