Kilrah Posted May 29 Share Posted May 29 Use the published image instead of building? https://hub.docker.com/r/mauriceo/viewtube Quote Link to comment
primeval_god Posted May 29 Author Share Posted May 29 7 hours ago, neleh said: Noob here. As I understand from searching some of comments, compose file requiring the `build` command isn't supported well. I'm running into issues where DCM will say it can not resolve the path. `failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount436360256/Dockerfile: no such file or directory` Basically the compose file provided by the project contains `build: .` I have already put my Stack in a location in pool, say it's `/user/mnt/appdata/path_a` Is there a way I can change the compose file to make it work? or is this fundamentally not supported yet? (The project I'm trying to get working is ViewTube, compose file here https://github.com/ViewTube/viewtube/blob/development/docker-compose.yml ) Thanks! If you created the stack using the UI then you will still need to pull the git repo to get the dockerfile in order to build the project. As mentioned this is venturing beyond the supported functionality of this plugin. That said if you cloned the repo into another folder say `/user/mnt/appdata/path_a/build` and then change the line `build: .` to `build: user/mnt/appdata/path_a/build` that might solve your issue. Quote Link to comment
StylishQuoter Posted May 29 Share Posted May 29 9 hours ago, Kilrah said: Use the published image instead of building? https://hub.docker.com/r/mauriceo/viewtube Thanks all for the help! Yes this worked! Quote Link to comment
StylishQuoter Posted May 29 Share Posted May 29 3 hours ago, primeval_god said: If you created the stack using the UI then you will still need to pull the git repo to get the dockerfile in order to build the project. As mentioned this is venturing beyond the supported functionality of this plugin. That said if you cloned the repo into another folder say `/user/mnt/appdata/path_a/build` and then change the line `build: .` to `build: user/mnt/appdata/path_a/build` that might solve your issue. You said `If you created the stack using the UI`, are there other ways to create stack? Like e.g. we can direct create it using editors? Just for my own knownledge. Thanks. Quote Link to comment
primeval_god Posted May 29 Author Share Posted May 29 18 minutes ago, neleh said: You said `If you created the stack using the UI`, are there other ways to create stack? Like e.g. we can direct create it using editors? Just for my own knownledge. Thanks. The only correct way of using this plugin is to create a stack through the ui. Quote Link to comment
MAK-CS Posted May 30 Share Posted May 30 Docker Compose Manager br0 Network error So I recently had to recreate all of my docker containers, and decided that transitioning to docker compose was a good idea in case this happened again, because I can easily recreate multiple containers at once. The issue I'm running into is I'm stuck trying to assign containers to the br0 network to assign them a static within my networks existing subnet. I've attached an image to demonstrate with my pi hole compose file. It crates a hash of some kind for the network type, and doesn't map an IP or ports at all. Using "network_mode: br0" instead will connect it to the br0 network and assign it a DHCP address, but I can't assign it a static IP that way. Quote Link to comment
062bel313 Posted May 30 Share Posted May 30 8 minutes ago, MAK-CS said: Docker Compose Manager br0 Network error So I recently had to recreate all of my docker containers, and decided that transitioning to docker compose was a good idea in case this happened again, because I can easily recreate multiple containers at once. The issue I'm running into is I'm stuck trying to assign containers to the br0 network to assign them a static within my networks existing subnet. I've attached an image to demonstrate with my pi hole compose file. It crates a hash of some kind for the network type, and doesn't map an IP or ports at all. Using "network_mode: br0" instead will connect it to the br0 network and assign it a DHCP address, but I can't assign it a static IP that way. I get the same but in my router pihole takes the static IP that I assigned here. Can you access the pihole webui? http://192.168.70.102/admin in your case. Quote Link to comment
Kilrah Posted May 30 Share Posted May 30 11 minutes ago, MAK-CS said: I've attached an image to demonstrate with my pi hole compose file. Pretty sure you need the name: key, at least it works here Also 12 minutes ago, MAK-CS said: because I can easily recreate multiple containers at once. You can reinstall multiple at once from Previous Apps. Quote Link to comment
MAK-CS Posted May 30 Share Posted May 30 22 minutes ago, 062bel313 said: I get the same but in my router pihole takes the static IP that I assigned here. Can you access the pihole webui? http://192.168.70.102/admin in your case. yes I can. Quote Link to comment
MAK-CS Posted May 30 Share Posted May 30 32 minutes ago, Kilrah said: Pretty sure you need the name: key, at least it works here Also You can reinstall multiple at once from Previous Apps. I tested this: and no change... Quote Link to comment
Kilrah Posted May 30 Share Posted May 30 (edited) The hash being displayed is normal. Question is does it work? EDIT: 8 minutes ago, MAK-CS said: yes I can. Seems so, so what's the problem? Edited May 30 by Kilrah Quote Link to comment
MAK-CS Posted May 30 Share Posted May 30 1 hour ago, Kilrah said: The hash being displayed is normal. Question is does it work? EDIT: Seems so, so what's the problem? My attempt: Better usability and clarity for users. No regrets for my attempt. Quote Link to comment
primeval_god Posted May 30 Author Share Posted May 30 4 hours ago, MAK-CS said: Quote Link to comment
MAK-CS Posted May 31 Share Posted May 31 (edited) 8 hours ago, primeval_god said: Thanks a lot for information. Edited May 31 by MAK-CS Quote Link to comment
rama3124 Posted June 5 Share Posted June 5 Is there a way to modify the name of the docker containers that are created with this plugin? I just created a monica container and named the stack 'Monica', so now my container is called monica-monica-1. Can i somehow just rename this monica? Quote Link to comment
primeval_god Posted June 5 Author Share Posted June 5 4 hours ago, rama3124 said: Is there a way to modify the name of the docker containers that are created with this plugin? I just created a monica container and named the stack 'Monica', so now my container is called monica-monica-1. Can i somehow just rename this monica? This is not really a question about this plugin. The compose file spec allows you to specify the container name with the "container_name" key. Quote Link to comment
rama3124 Posted June 6 Share Posted June 6 (edited) Thanks Still learning Edited June 7 by rama3124 Found the answer to my question in another comment Quote Link to comment
SavellM Posted June 13 Share Posted June 13 Can you upgrade to docker v25 as im trying to include some health checks which require docker v25 or later. Or would this need a unRAID update to update the docker engine on the background? Quote Link to comment
Kilrah Posted June 13 Share Posted June 13 2 hours ago, SavellM said: Or would this need a unRAID update to update the docker engine on the background? This. 1 Quote Link to comment
LuckJury Posted June 19 Share Posted June 19 I'm working on an Azeroth Core server via the compose manager. Everything is working fine except, to get modules working, I need to recompile. the how-tos indicate that I need to run "docker compose up -d ---build" and I have no idea how to translate that into my environment. For some more context, someone on their support forum said "Modules that contain C++ require a re-compile. I'm not a docker user, but if you make docker re-compile the binaries, it is supposed to work." So is there a way to translate that command over to unraid with compose manager, or otherwise a way to cause compose manager to re-compile? Quote Link to comment
primeval_god Posted June 20 Author Share Posted June 20 (edited) 17 hours ago, LuckJury said: I'm working on an Azeroth Core server via the compose manager. Everything is working fine except, to get modules working, I need to recompile. the how-tos indicate that I need to run "docker compose up -d ---build" and I have no idea how to translate that into my environment. For some more context, someone on their support forum said "Modules that contain C++ require a re-compile. I'm not a docker user, but if you make docker re-compile the binaries, it is supposed to work." So is there a way to translate that command over to unraid with compose manager, or otherwise a way to cause compose manager to re-compile? The "Update Stack" button in the composeman ui will run the command "docker compose up -d ---build". As for the specifics of what that will do it depends on what the build sections of your compose file look like and what Docker files they point at. Edited June 20 by primeval_god Quote Link to comment
cksunraid_2024 Posted June 22 Share Posted June 22 error - *55694 open() "/usr/local/emhttp/plugins/compose.manager/javascript/ace/mode-sh.js" failed (2: No such file or directory) while sending to client, client: 10.0.0.85, server: , request: "GET /plugins/compose.manager/javascript/ace/mode-sh.js HTTP/1.1", host: "10.0.0.78", referrer: "http://10.0.0.78/Settings/compose.manager" Trying to run Immich in docker compose - https://immich.app/docs/install/unraid Any insights in to this is highly appreciated. Thank you. Quote Link to comment
rama3124 Posted June 23 Share Posted June 23 I have monica installed using the docker compose plugin and the container constantly shows up on my unraid docker action centre and on the fix-common-problems plugin as needing update. I read in other comments on this thread that docker containers installed with the compose plugin cannot be updated the usual way through unraid and need to be updated by clicking 'update stack'. Even when I do this, the container still shows up as needing update. Is there a way to stop unraid from checking for updates for containers installed with this plugin? TIA Quote Link to comment
mtongnz Posted June 23 Share Posted June 23 2 hours ago, rama3124 said: I have monica installed using the docker compose plugin and the container constantly shows up on my unraid docker action centre and on the fix-common-problems plugin as needing update. I read in other comments on this thread that docker containers installed with the compose plugin cannot be updated the usual way through unraid and need to be updated by clicking 'update stack'. Even when I do this, the container still shows up as needing update. Is there a way to stop unraid from checking for updates for containers installed with this plugin? TIA I put in a PR to fix this but it's not merged yet: https://github.com/dcflachs/compose_plugin/pull/27 You can manually modify the plugin and test it if you'd like. 1 Quote Link to comment
Sarge888 Posted June 23 Share Posted June 23 Where does compose-manager run its command line wen its starting a custom container? I had a mishap and a container created a database config folder in the root directory of where ever the command was run. So if you could point me to the location that would help me greatly to remove this misplaced folder. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.