Comments (10)
I'm just gonna close this, sorry it doesn't work in docker swarm. :(
from unifi-video-controller.
Anyone able to comment on this thread? I'm having the same issue.
from unifi-video-controller.
Does it work fine if you do it the normal, not swarm way?
from unifi-video-controller.
Yes, I've been able to do it the normal way without issue.
The issue is that Docker Swarm is on V3 which does not support security_opt or cap_add.
from unifi-video-controller.
I don't know what that means, is Docker Swarm too old or too new?
Can you use another Docker clustering / management tool? Surely Google can tell you what you should replace security_opt and cap_add with?
from unifi-video-controller.
The docker compose file provided in the repo is notated as version 3. Version 3 does not support those flags nor does it support anything like them due to security concerns (ultimately that file is non-working). Docker Swarm only supports V3 and higher.
Almost every unifi video docker image I see requires these flags so I'm not sure that there is actually a solution. Was just hoping someone else may have known otherwise.
As for Google, I've spent a significant amount of time Googling trying to figure this out on my own. This is the first forum I've actually asked for help as I'm at wits end trying to figure out if it's possible to do.
from unifi-video-controller.
Ah, I've got nothing then. :/
from unifi-video-controller.
Thanks anyways, I really appreciate you taking the time to try to help.
from unifi-video-controller.
More information about the problem on missing cap_add
support in docker swarm can be found in this issue moby/moby#25885.
from unifi-video-controller.
I know this has nothing to do with swarm, but I faced the same issue using podman, I was able to solve it by using:
--mount type=tmpfs,tmpfs-mode=0700,tmpfs-size=512M,destination=/var/cache/unifi-video
Just in case someone else using podman faces the same issue, since I got here when googling for the issue.
from unifi-video-controller.
Related Issues (20)
- What is the recommended upgrade procedure? HOT 13
- Unable to Manage - UVC G3 camera HOT 2
- Recordings eventually stop HOT 3
- Not an Issues but HOT 1
- Feature Addition: External Mongo HOT 2
- Inconsistent recording HOT 4
- Cannot view videos in client HOT 3
- Fresh install - video-controller creation script hangs. HOT 18
- Video doesn't start recording automatically after the unifi-video container restart. HOT 8
- java.io.IOException: Unable to create directory /var/cache/unifi-video/exports HOT 6
- UniFi-Video is writing video to a different location HOT 5
- Can only find camera if "--network="host" \" HOT 1
- UniFi Protect cannot discover Video Controller HOT 2
- tmpfs solution for /var/cache/unifi-video on kubernetes HOT 6
- cannot build image due to mongodb package error HOT 3
- Running network controller and video on the same machine HOT 1
- Custom build docker image produces broken unifi video controller HOT 5
- Need to specify specific OpenJDK version HOT 1
- Still usable? HOT 2
- Service exit with a return value of 4 HOT 5
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 unifi-video-controller.