Closed SuperSpe closed 2 years ago
cpu_shares
unless I edit that bit)networks: bridge:
for network_mode: bridge
it works again. 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
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
Thanks for the reminder, somehow I thought I'd resolved this. I'll try and sort this out today.
@Red5d I've opened a PR solving this issue. Please have a look.
Thanks! Merged.
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.
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
Any updates? It still says it. :/ Obviously can manually edit it for now, but others might not understand the failure if they run it.
I've fixed the formatting on devices entries.
Docker version 18.09.7, build 2d0083d