Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Docker Compose Manager

Featured Replies

Hi, sorry I am noob on docker and trying to get one up to remove a RPI I have currently running a small app.

When I try to rum the following docker compose :
 

version: '3.7'

services:

  mqtt:
    image: eclipse-mosquitto
    network_mode: host

  musa:
    image: musa
    build:
      context: ./
      dockerfile: Dockerfile
    network_mode: host

 

I get the following error:

[+] Running 0/1
 ⠿ musa Warning                                                                                                                                                    1.6s
[+] Building 0.2s (2/2) FINISHED                                                                                                                                        
 => [internal] load build definition from Dockerfile                                                                                                               0.1s
 => => transferring dockerfile: 2B                                                                                                                                 0.0s
 => [internal] load .dockerignore                                                                                                                                  0.1s
 => => transferring context: 2B                                                                                                                                    0.0s
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount634254436/Dockerfile: no such file or directory

 

Dos anyone know why I get such error?

Thanks for any help.

  • Replies 872
  • Views 327.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I've been playing with the code behind this plugin and have made a couple of tweaks.  I'd be interested on peoples thoughts and suggestions.   The first allows you to specify any .env file. 

  • I've recently started using Compose Manger to orchestrate my containers in Unraid. I've used docker-compose for a long time on old servers, but moved away from it when I started using Unraid, as I pre

  • In the recent update, orphaned image is now automatically removed. Thank you.   Is it possible to also update the local sha256 hash in this file /var/lib/docker/unraid-update-status.json? Si

Posted Images

  • Author
5 hours ago, yaazzz said:
  musa:
    image: musa
    build:
      context: ./
      dockerfile: Dockerfile
    network_mode: host

 

Are you using the default compose.manager directory for your stack or did you use the Advanced option to specify the Stack Directory? If you used the default directory then the above bit could be your issue. You should not put build files in the default stack directory. You should either put the whole stack directory somewhere else of put the build files somewhere else and specify an absolute path the context.

hi, i found a problem after reboot my unraid server.

 

my compose file is like this :

services:
  ......
networks:
  host_link:
    external: true
    name: br0

 

some app use the br0 network cant start

i think they couldnt find the interface.

If i wanted to specify a static ip for the web container in this compose file what would i do?

 

Tried doing something like this but it didnt work. My compose file is attached as well. Thanks

    networks:
    - spodcast
        ipv4_address: 192.168.0.206
    ports:
      - 8099:80

 

spodcast.txt

  • Author

This thread really isnt the place to ask general questions about docker compose. Please try to keep things focused on the compose plugin itself.

On 10/9/2022 at 2:16 AM, SCSI said:

The "Update Stack" does not update the application for me for some reason. I had to manually run "docker-compose pull && docker-compose up -d" to update the application.

 

I am experiencing the same on Unraid 6.10.3: I have to use:

docker compose pull

...on the command line and the bring the stack up using the "Compose Up" button. The "Update Stack" button simply displays a list of contaners in the stack, each one listed as "Running". Nothing else happens.

 

However, even when I do this on the command line and see the containers updated the Docker Tab and Fix Common Problems beleieve there are still updates for all containers in my stack.

Edited by elzik

  • Author
1 hour ago, elzik said:

 

I am experiencing the same on Unraid 6.10.3: I have to use:

docker compose pull

...on the command line and the bring the stack up using the "Compose Up" button. The "Update Stack" button simply displays a list of contaners in the stack, each one listed as "Running". Nothing else happens.

 

However, even when I do this on the command line and see the containers updated the Docker Tab and Fix Common Problems beleieve there are still updates for all containers in my stack.

@SCSI@Hendrik112
I am aware of this issue and working on a fix.

19 hours ago, primeval_god said:

@SCSI @Hendrik112 @elzik There is a new version that should fix the update function. 

 

Thanks, I appreciate it. The button now appears to attempt to pull but nothing gets pulled - I think maybe all the images are up to date. However, the Docker Tab and Fix Common Problems believe there are still updates for all containers in my stack - is this to be expected?

1 minute ago, elzik said:

However, the Docker Tab and Fix Common Problems believe there are still updates for all containers in my stack - is this to be expected?

Yes, the update notification can't be used for Compose stacks, it'll always show an update.

Edited by Kilrah

I found that I can't replace the icon when old icon exists

  • Author
3 hours ago, Beermedlar said:

I found that I can't replace the icon when old icon exists

This is technically an issue with unRAID's dockerman rather than this plugin. The compose plugin does have a feature to patch this behavior along with a few other webui integration issues. It can be enabled in the settings but is disabled by default. Be sure you have the latest version of the plugin (released today) as there was a minor change to that functionality. 
 

On 10/13/2022 at 4:42 PM, Kilrah said:

Yes, the update notification can't be used for Compose stacks, it'll always show an update.

Also FYI the webui patches will disable the update link in the main docker page for containers managed by compose.

On 10/15/2022 at 6:30 PM, primeval_god said:

Also FYI the webui patches will disable the update link in the main docker page for containers managed by compose.

I have the last version (2022.10.15) but the update link is still there, even after a real stack update it hasn't disappeared.

 

image.png.7a1b586541e54c56f007d7521d12671c.png

I am using the Fix Common Problem plugin to e-mail me nightly when there is an update to my docker images. For the stack that I created using the Dokcer Compose Manager plugin, I get an e-mail every night irregardless of an actual update being available or not.

 

Is this the same issue reported above? Is it just somehting that I have to accept using Dokcer Compose Manager?

  • Author
8 hours ago, alexbn71 said:

I have the last version (2022.10.15) but the update link is still there, even after a real stack update it hasn't disappeared.

 

image.png.7a1b586541e54c56f007d7521d12671c.png

But do you have the webUI patches enabled?

  • Author
6 hours ago, writablevulture said:

I am using the Fix Common Problem plugin to e-mail me nightly when there is an update to my docker images. For the stack that I created using the Dokcer Compose Manager plugin, I get an e-mail every night irregardless of an actual update being available or not.

 

Is this the same issue reported above? Is it just somehting that I have to accept using Dokcer Compose Manager?

The already reported issues are about unRAIDs builtin update  check. I would suspect that the Fix Common Problem plugin piggybacks off of that but i dont know for sure. 

2 hours ago, primeval_god said:

But do you have the webUI patches enabled?

how is this patch applied?

 

On 10/15/2022 at 6:30 PM, primeval_god said:

This is technically an issue with unRAID's dockerman rather than this plugin. The compose plugin does have a feature to patch this behavior along with a few other webui integration issues. It can be enabled in the settings but is disabled by default. Be sure you have the latest version of the plugin (released today) as there was a minor change to that functionality. 
 

Also FYI the webui patches will disable the update link in the main docker page for containers managed by compose.

 

a screenshot of where this setting is?

22 minutes ago, alexbn71 said:

how is this patch applied?

 

Settings, Compose, Patch UI...

 

I did enable it and click patch and can't see a difference though. 6.11.1

  • Author
1 hour ago, Kilrah said:

Settings, Compose, Patch UI...

 

I did enable it and click patch and can't see a difference though. 6.11.1

If the patch applied correctly, the patch button should disappear and on the docker containers page all of your stack containers (created with the compose plugin) should have "not available" in the version column. 

The button is gone and one of the containers shows not available but the other 5 still have "apply update". I've tried doing an "Update Stack" on them, no change. I have the Docker Folder plugin installed in case that might have something to do with it. 

 

image.png.3e5cb3003a1071e5f22b17c2b275d85a.png

 

image.png.ee24643b28ce5cc5a5ac2f136428e8d3.png

 

image.png.54bcd6babc536d58eea970fdc7ec5af9.png

  • Author
1 hour ago, Kilrah said:

 I have the Docker Folder plugin installed in case that might have something to do with it. 

I have absolutely no idea how the patches might interact with Docker Folder.

I was running some test yesterday and notice that the override file is generated in the plugin directory even if the indirect file is pointing to another directory. Any reasons for this? It would be nice to have the files in the same place as it would make it possible to keep the files in GIT.

 

Alternatively, is it possible to create a GIT repo out of  /boot/config/plugins/compose.manager/projects or will I face issues with the fact that it is on the USB drive? I would then put all the static configuration files there as well, e.g.:

.../authelia/docker-compose.yml

.../authelia/docker-compose.override.yml

.../authelia/configuration.yml

  • Author
10 minutes ago, PierreT said:

I was running some test yesterday and notice that the override file is generated in the plugin directory even if the indirect file is pointing to another directory. Any reasons for this?

Yes there is. The plugin directory on the flash drive is meant to be managed only by the compose plugin and should contain only files create by the plugin. The option for the indirect path is meant to allow the user to build more complex stacks in their own directory while still integrating with the plugin. 

 

15 minutes ago, PierreT said:

Alternatively, is it possible to create a GIT repo out of  /boot/config/plugins/compose.manager/projects or will I face issues with the fact that it is on the USB drive? I would then put all the static configuration files there as well, e.g.:

.../authelia/docker-compose.yml

.../authelia/docker-compose.override.yml

.../authelia/configuration.yml

I would not recommend putting any extra files in the compose.manager folder.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.