Comments (10)
I've fixed the formatting on devices entries.
from docker-autocompose.
- 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:
fornetwork_mode: bridge
it works again.
from docker-autocompose.
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.
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.
Thanks for the reminder, somehow I thought I'd resolved this. I'll try and sort this out today.
from docker-autocompose.
@Red5d I've opened a PR solving this issue. Please have a look.
from docker-autocompose.
Thanks! Merged.
from docker-autocompose.
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.
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.
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)
- issue with some entry point
- Container with network within another container HOT 2
- date_or_time syntax error? HOT 1
- Just a little contribution: shell script to execute docker-autocompose and backup yaml HOT 2
- IndexError: list index out of range HOT 1
- Best way to send output to a file? HOT 2
- Suggestion | command switch to extend any volume variables beyond 'external'
- Shared mounts are not exported properly HOT 4
- Missing values HOT 2
- Cant retrive compose file HOT 3
- Boolean value should be true/false ? HOT 1
- autocompose.py does not use the set context?
- compose.yaml seems to have to many lines
- That container is not available HOT 1
- Block of volumes in random order (mountpoints) HOT 2
- permission denied issue! HOT 2
- RuntimeError: invalid GMT offset
- Export all contrainers at once? HOT 1
- Backup with a small problem at restore (Host/Network)
- Docker error while fetching server API version HOT 2
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-autocompose.