Code Monkey home page Code Monkey logo

Comments (7)

chaifeng avatar chaifeng commented on May 19, 2024

可以给更多一些信息吗?

nextcloud 是运行在 Swarm 集群里面的话,需要用 sudo ufw-docker service allow nextcloud 80/tcp,可能需要看一下 nextcloud 的端口是监听在哪个上。

from ufw-docker.

maryjeck avatar maryjeck commented on May 19, 2024

我用的是ubuntu snap的docker ,不只nextcloud ,ufw-docker找不到任何docker的容器。没有用Swarm 集群。
ufw-docker是从哪里读取docker的容器信息,估计snap方式的docker路径和常规docker路径不一样。

from ufw-docker.

mad-max-traveller avatar mad-max-traveller commented on May 19, 2024

The problem is still relevant.

from ufw-docker.

anuragpeshne avatar anuragpeshne commented on May 19, 2024

In my case I got this error message because the script could not find the docker executable. So the command failed (rather than not being able to find the docker instance).

@maryjeck @mad-max-traveller can you verify that docker is installed in one of these locations: PATH="/bin:/usr/bin:/sbin:/usr/sbin". In my case it was installed in /snap/bin. So adding that to path worked: 7cf3cde

from ufw-docker.

JoeZUM avatar JoeZUM commented on May 19, 2024

@anuragpeshne I seem to have the same issue. On my machine, docker is installed in /snap/bin as well. How can I implement your fix? Thanks!

from ufw-docker.

anuragpeshne avatar anuragpeshne commented on May 19, 2024

@JoeZUM : add that path to the PATH variable here: https://github.com/chaifeng/ufw-docker/blob/master/ufw-docker#L8

from ufw-docker.

JoeZUM avatar JoeZUM commented on May 19, 2024

Hi @anuragpeshne, thanks! I found it and it worked. Thanks!
(Hadn't noticed your commit linked above, which also shows the location)
Best, J

from ufw-docker.

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.