Code Monkey home page Code Monkey logo

Comments (10)

fryfrog avatar fryfrog commented on August 15, 2024 1

I'm just gonna close this, sorry it doesn't work in docker swarm. :(

from unifi-video-controller.

tmowbrey avatar tmowbrey commented on August 15, 2024

Anyone able to comment on this thread? I'm having the same issue.

from unifi-video-controller.

fryfrog avatar fryfrog commented on August 15, 2024

Does it work fine if you do it the normal, not swarm way?

from unifi-video-controller.

tmowbrey avatar tmowbrey commented on August 15, 2024

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.

fryfrog avatar fryfrog commented on August 15, 2024

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.

tmowbrey avatar tmowbrey commented on August 15, 2024

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.

fryfrog avatar fryfrog commented on August 15, 2024

Ah, I've got nothing then. :/

from unifi-video-controller.

tmowbrey avatar tmowbrey commented on August 15, 2024

Thanks anyways, I really appreciate you taking the time to try to help.

from unifi-video-controller.

jokay avatar jokay commented on August 15, 2024

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.

tonyskapunk avatar tonyskapunk commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.