Giter Site home page Giter Site logo

Not working anymore? about docker-autocompose HOT 10 CLOSED

red5d avatar red5d commented on May 21, 2024
Not working anymore?

from docker-autocompose.

Comments (10)

Red5d avatar Red5d commented on May 21, 2024 1

I've fixed the formatting on devices entries.

from docker-autocompose.

jisakiel avatar jisakiel commented on May 21, 2024
  • I think it's emitting v2 files instead of v3? (at least my synology docker install complains about things like cpu_shares unless I edit that bit)
  • I think it's mistaking the default bridge with a bridge. Meaning if I edit the yaml, and switch networks: bridge: for network_mode: bridge it works again.

from docker-autocompose.

PonyOny avatar PonyOny commented on May 21, 2024

Same here getting this output error.
services.web-server-test.networks.bridge contains null, which is an invalid type, it should be an array
and is caused due to.

networks:
  bridge:
    external: true

from docker-autocompose.

Hukuma1 avatar Hukuma1 commented on May 21, 2024

Any fix for this besides manual editing? Seeing exactly the same 1 full year later. :/

Same here getting this output error.
services.web-server-test.networks.bridge contains null, which is an invalid type, it should be an array
and is caused due to.

networks:
  bridge:
    external: true

from docker-autocompose.

Red5d avatar Red5d commented on May 21, 2024

Thanks for the reminder, somehow I thought I'd resolved this. I'll try and sort this out today.

from docker-autocompose.

akshaysalunke13 avatar akshaysalunke13 commented on May 21, 2024

@Red5d I've opened a PR solving this issue. Please have a look.

from docker-autocompose.

Red5d avatar Red5d commented on May 21, 2024

Thanks! Merged.

from docker-autocompose.

Hukuma1 avatar Hukuma1 commented on May 21, 2024

Trying to do a Jellyfin container export/import and running into it complaining about this:

    devices:
      - CgroupPermissions: rwm
        PathInContainer: /dev/dri
        PathOnHost: /dev/dri

Log:

Deployment error
The Compose file '/data/compose/51/docker-compose.yml' is invalid because: services.Jellyfin2.devices contains an invalid type, it should be a string

Any idea? This is strictly the code I am using from a running container and then re-importing it (with different container name) to launch a stack.

from docker-autocompose.

Red5d avatar Red5d commented on May 21, 2024

Hmm... that should definitely be formatted like this instead according to the compose file documentation:

devices:
  - /dev/dri:/dev/dri

I'll check and see if the "devices" section is different than others in the JSON or something.
https://docs.docker.com/compose/compose-file/compose-file-v3/#devices

from docker-autocompose.

Hukuma1 avatar Hukuma1 commented on May 21, 2024

Any updates? It still says it. :/ Obviously can manually edit it for now, but others might not understand the failure if they run it.

from docker-autocompose.

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.