docker compose?


91 posts in this topic Last Reply

Recommended Posts

  • 9 months later...
  • Replies 90
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Is anybody using docker compose?   Are there any plans to integrate it with unRAID?

I'd like something like this. Both to easily reuse Docker Compose setups, but also to be able to group applications together in the Unraid UI. Atm it feels like Unraid promotes bad Docker practice by

i recently moved most of my containers to docker-compose+portainer, and it works great.  did i have to?  no.  but like everything else unraid, tinkering around is itself enough of a reason.  

Posted Images

The current release of unRAID is still using docker 1.7.1 which doesn't have compose. This will be rectified in 6.2, but we are not adding compose to the UI yet, though other UIs could probably connect to the service and of course there is always command line.

Link to post
  • 7 months later...

Could this be part of nerd tools?

 

It could but it should be tied into the core docker-engine version from LT so that incompatibilities can be checked for prior any forthcoming releases. As we all know, Docker like to break APIs for fun https://forums.docker.com/t/mismatch-between-api-versions-after-automatic-update-to-1-11-0-beta6-with-docker-machine-on-amazon/8549

 

There's nothing stop people curl'ing the binary in their go file for now though.

Link to post
  • 3 weeks later...

I for one would also like to see this, as I use numerous links in my configuration. It seems to me that the dockerMan's XML template system is just re-implementing what docker-compose does better, and perhaps can be phased out (or made to generate docker-compose files?)... Hopefully with compose we could abandon the practice of bundling together many services and instead use discreet containers.

Link to post
  • 1 month later...
  • 3 weeks later...

+1 docker compose

 

This would better support linking of containers, means I dont have to learn another syntax, is transferable to other systems, has more features ... is fully documented. I have been using docker for some time on Ubuntu system and just transitioning to unraid. I have a number of containers using docker compose that I now need to rewrite or find and test unraid community equivalents. I like to build my docker images with minimal dependencies but that doesnt seem possible with unraid system?

 

I also havnt been able to find a definitive guide on writing docker templates for unraid, please advise if there is one that I might have missed. Ideally, documention would be something like that provided for docker compose itself at https://docs.docker.com/compose/compose-file/. So again, why not just support/use docker-compose rather than reinvent ... or am I overlook some key benefit?

 

Please dont take this the wrong way ... intended as constructive feedback. Docker compose is relatively new and maybe wasnt a viable option previously?

Link to post

You basically just need to create a dockerfile https://docs.docker.com/engine/getstarted/step_four/

 

There is really nothing specific per se on unRaid's implementation of docker vs other platforms

 

The unRaid templates are just a xml document that has all of the options for the docker run command  http://lime-technology.com/forum/index.php?topic=40937.msg486569#msg486569

 

But, yeah docker compose support would be a big bonus...

Link to post

Ok, that makes sense. I suppose the xml makes it easier to provide the web interface. I suppose I can just add an unraid xml version to my existing projects ... should be easy enough.

 

Maybe a conversion tool/script from compose to unraid xml?

 

Link to post

Ok, that makes sense. I suppose the xml makes it easier to provide the web interface. I suppose I can just add an unraid xml version to my existing projects ... should be easy enough.

 

Maybe a conversion tool/script from compose to unraid xml?

I don't know the feasibility of a yaml to dockerfile conversion

 

Sent from my LG-D852 using Tapatalk

 

 

Link to post
  • 6 months later...

SSH into Tower, 

you can use the usual commands to install or upgrade Compose:

curl -L https://github.com/docker/compose/releases/download/1.14.0-rc2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

FTP into Tower, upload your docker-compose.yml file.--> I uploaded to:  /mnt/user/appdata (see my docker-compose.yml for and example, also here

SSH into Tower, and change directory to your docker-compose.yml file. 

 cd /mnt/user/appdata

then docker-compose up

docker-compose up

 

docker-compose.yml

Link to post
  • 2 weeks later...
  • 3 weeks later...
  • 4 months later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.