-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
entrypoint.sh uses sudo #12
Comments
I'm experiencing this error as well on a Pine64, aarch64, Ubuntu, 3.10.65-7-pine64-longsleep, Docker 1.12.1 with the latest docker image from docker hub. |
Here's my particular error output, looks similar to what sja has.
|
Also fails on docker on a Synology DiskStation. Server: Here's the error log:
A fix would be much appreciated as I'm currently stuck and can't get the container to run on my Synology. Thanks! @sja - would you be so kind to explain how you removed the sudo before the calls to cp? |
Build #589 working on Synology 415+ running DSM 6 & using ui and ssh, when:
|
@letitbe1 -- wow! Thanks ever so much, that actually worked! I managed to get the container up and running due to your help. |
I had exactly the same problem as sja. On my system i fixed it after a lot of trial and error. The problem seems to be in the readme.md file. I needed to add "pid: host" to the docker run command, if using "net:host". I created this docker-compose.yml. In my gist i also set the environment variables for different ports, because on my system the default ports are already in use. Exposing ports seems not to work in host mode and i removed them from my compose file. Everything works as expected now.
Could you please verify? |
Pull request #43 will solve this issue. |
The entrypoint.sh uses
sudo
to copy default configs if they not exist. Why?My problem is, that this breaks the container start with the following logs:
After googling, it may be a problem with AppArmor. I added
capability audit_write
to the /etc/apparmor.d/docker file and rebooted, but nothing changed. (See here)If i remove the sudos before copy, everything works fine there.
Environment: Pine64 board (arm64 arch) with Ubuntu Xenial (16.04), kernel 3.10.101-0-pine64-longsleep and docker 1.10.3 + docker-compose 1.5.2.
The text was updated successfully, but these errors were encountered: