Comments (6)
I can't reproduce this issue.
It is possible that the create_user.sh script failed on your system?
from shopware-docker.
It seems like I cannot get the ${USERID} and ${GROUP} in the Shellscript.
from shopware-docker.
That is it content of shopware-docker/dev-ops/docker/containers/mysql/createuser.sh
userid and groupid are 0
#!/usr/bin/env bash
groupadd -g 0 app-mysql
useradd -s /bin/bash -m -u 0 -g 0 app-mysql
mkdir -p /home/app-mysql/.ssh
chown -R app-mysql:app-mysql /home/app-mysql
echo -e "app-mysql\napp-mysql\n" | passwd app-mysql
echo 'app-mysql ALL=(ALL:ALL) ALL' >> /etc/sudoers
from shopware-docker.
Can you please post the result of this command:
echo "$(id -u):$(id -g)"
from shopware-docker.
echo "$(id -u):$(id -g)"
1000:1000
I think it is because I executed ./psh.phar docker:start
before with sudo - so it used the root ID in the createuser.sh Script. I delted the generated files in dev-ops/docker/containers/mysql and dev-ops/docker/containers/php7 and executed ./psh.phar docker:start
without sudo - but then I get
> docker-compose build && docker-compose up -d
Building app_mysql
Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Do I need sudo for docker-compose in this case? My user is in the docker group already
groups $USER
micha : micha .......... docker
from shopware-docker.
Oh well - permissions...
My docker-compose file was root and I could not execute it with my user. A reboot did the trick, I guess even after changing it it stayed cached somehow with the wrong permissions in /usr/local/bin/
Everything works fine now - except ES, I guess it's just setting it to 777.
Thanks for the fast response.
from shopware-docker.
Related Issues (20)
- Boot stuck on step 8 HOT 3
- psh.phar HOT 1
- Extremely slow on Mac HOT 3
- Building server-container stops with error message HOT 2
- Can't change SW_HOST: "localhost:8083" HOT 1
- scruptcreator.sh doesnt work HOT 5
- Add system requirements to readme HOT 2
- Cant use grunt locally HOT 5
- What was the intention to use a psh stuff for that? HOT 2
- Docker mysql build process failed
- Init script failed HOT 11
- Xdebug not configured HOT 1
- Cannot write cache HOT 6
- app_server is not starting HOT 11
- Access to backend works but access to frontend always results in redirect (301) to localhost. HOT 2
- Can not write log file
- Install not working on OsX Mojave HOT 3
- Slim Application Error: file_put_contents failed to open stream: Permission denied HOT 1
- DevOps Docker Destroy Action
- ./psh.phar docker:start gives "/usr/bin/env: ‘php’: No such file or directory" 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 shopware-docker.