Comments (12)
@AKoetsier This could be something to do with your proxy configuration
from docker-redmine.
@sameersbn This happens within the nginx in the docker, not in my own nginx outside the docker or something like that. Strange thing is it only occurs on one of my workstations (ubuntu 14.10) and not on my servers (ubuntu 14.04).
from docker-redmine.
@AKoetsier do you by any chance have selinux enabled.
from docker-redmine.
@sameersbn No selinux.
from docker-redmine.
We see the same issue with nginx accessing a Unix socket in our docker containers (nginx + unicorn in the same container) on Ubuntu 14.10, but not Ubuntu 14.04. As a workaround, try disabling the AppArmor profile for docker via aa-disable /etc/apparmor.d/docker
, then restart the docker container. Interestingly, aa-complain ...
is not enough.
from docker-redmine.
@AKoetsier This might have something to do with 14.10 then. I have see similar issue while using containerized nginx (as a proxy) which talks to an upstream application. There it is a selinux issue. My quickfix there was to not run nginx containerized and then add the required selinux filters.
from docker-redmine.
Same issue on 14.04
from docker-redmine.
@vabue Make sure that iptables is enabled. When docker starts a container, it adds iptables rules for the port forwarding to function. This means that iptables is required to to enabled for this configuration to be effective.
from docker-redmine.
Iptables is ok. Disabling apparmor for docker helped.
from docker-redmine.
When I disable apparmor for docker like aa-disable /etc/apparmor.d/docker
my containers do not start anymore:
Error response from daemon: Cannot start container database: set apparmor profile docker-default: no such file or directory FATA[0000] Error: failed to start one or more containers
What do I do?
from docker-redmine.
not sure what the issue is. can you read up on moby/moby#14396 to see if anything applies to your setup?
p.s. i used 14.04, with docker installed from official docker repos with apparmor, iptables, etc. enabled as default and have not seen this issue ever.
from docker-redmine.
i close this any subscriber can reopen if that still happens thanks to all
from docker-redmine.
Related Issues (20)
- Help:Unknown system variable "transaction_isolation" HOT 6
- Multiple problems on rebuilding the redmine image HOT 3
- Upgrade from 5.1.0 to 5.1.1-1 rake aborted HOT 9
- postgresql container fails to start and report error: popen failure: unable to allocate memory initdb: error: The program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/14/bin/initdb". HOT 2
- How to upgrade from sameersbn/redmine: 4.1.1-8 to sameersbn/redmine: 5.1.1-1 ? HOT 5
- redmine:5.1.1-1 ocker-compose up error HOT 3
- An error occurred while sending mail HOT 10
- Can't download large files HOT 4
- Build is failing HOT 4
- Run sameersbn/redmine with an External Azure MySQL database HOT 2
- 5.1.1-4 dies because of Matrix in gem HOT 7
- MOving back from 5.1.1 to 5.0.7 HOT 1
- Bug: github workflow should only tag "latest" for changes to master branch HOT 2
- Failed: Upgrade from 5.0.7 -> 5.1.2 on Synology Docker HOT 4
- ERROR 1193 (HY000) at line 1: Unknown system variable 'tx_isolation' with a MySQL DB version 8.1 HOT 5
- Container is not able to connect to the internet using the bridge network on Synology DSM 7.2 HOT 9
- IMAP email job not working in 5.1.2+ HOT 6
- container "redmine-mysql-1" does not start with docker v26.0.2 and works with 26.0.1 ... ? HOT 3
- Invalid form authenticity token error HOT 11
- Internet is not ready when plugin installing and rubygems update is required
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 docker-redmine.