Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker integration page can't be scrolled up or down. #295

Closed
3 tasks done
kimitrois opened this issue Jul 21, 2022 · 7 comments
Closed
3 tasks done

Docker integration page can't be scrolled up or down. #295

kimitrois opened this issue Jul 21, 2022 · 7 comments
Labels
🐛 Bug Something isn't working

Comments

@kimitrois
Copy link

Environment

Docker

Version

0.8

Describe the problem

Hi Author, it's an awesome upgrading. Many new features had been added to Homarr, I can almost stop the Portainer in my docker. But I have about 13 containers runing in my docker and the docker integration page can't show them all with no scroll bar.
I am no techy person, I don't know if it is a bug...and I have to tick that "You've tried to debug yourself " box to submit this issue although I am not able to debug anything - -.

Additional info

No response

Please tick the boxes

@kimitrois kimitrois added the 🐛 Bug Something isn't working label Jul 21, 2022
@ajnart
Copy link
Owner

ajnart commented Jul 21, 2022

Environment

Docker

Version

0.8

Describe the problem

Hi Author, it's an awesome upgrading. Many new features had been added to Homarr, I can almost stop the Portainer in my docker. But I have about 13 containers runing in my docker and the docker integration page can't show them all with no scroll bar.
I am no techy person, I don't know if it is a bug...and I have to tick that "You've tried to debug yourself " box to submit this issue although I am not able to debug anything - -.

Additional info

No response

Please tick the boxes

Thank you for this. I didn't think about it ! It will be included in v0.8.1
I'm even going to try and add a search bar to search inside the containers. The max height will be the whole page by default.

I just realized I have no idea how this looks on mobile also 😭

@flargargoyl
Copy link

similar on Mobile, but you cant stroll sideways so all the fields wont fit into the screen.
On the other note, this function works perfectly with socket-proxy with no issues, which is great & secure.

@ajnart
Copy link
Owner

ajnart commented Jul 21, 2022

similar on Mobile, but you cant stroll sideways so all the fields wont fit into the screen.
On the other note, this function works perfectly with socket-proxy with no issues, which is great & secure.

What field would you hide on mobile ? I don't believe there is a way I can make all the info fit on such a narrow width. Perhaps I could remove the ports and image part and just keep name / status

@flargargoyl
Copy link

personally, for Mobile i would go this route:
it should show container NAME and State. If you click on the container, it should show Image and Ports (someone WILL ask about mounts for sure, personally not require that as running https://github.com/amerkurev/doku)
That being said, i dont really see myself using this function for anything more than "interesting" factor, no offence. Have other ways to manage 40+ containers on different hosts. Its cool to have to add services to dashboard, true.

@ajnart
Copy link
Owner

ajnart commented Jul 22, 2022

personally, for Mobile i would go this route:
it should show container NAME and State. If you click on the container, it should show Image and Ports (someone WILL ask about mounts for sure, personally not require that as running https://github.com/amerkurev/doku)
That being said, i dont really see myself using this function for anything more than "interesting" factor, no offence. Have other ways to manage 40+ containers on different hosts. Its cool to have to add services to dashboard, true.

None taken. This is just a way to quickly check on containers and to add management of other containers. In the future Homarr will be able to update itself.

That being said what features would you want from this kind of integration?

@flargargoyl
Copy link

flargargoyl commented Jul 22, 2022

first things that came to mind:

  1. be able to use authentication. it does for some services specifically, but nowdays it's very simple to have a reverse proxy in front of your services to have at least basic auth.
    Personally i use oauth with google for accessing most of my services, so that's a tricky question how to arrange that :)

  2. for services that integrates, it might be reasonable to have a separate field for Homarr to reach the service's integration - and a separate for the link itself.
    Example:
    i have a $servicename.$domainname.org
    It uses oauth with google account.
    Obviously, using "external" connection, homarr can't integrate with this service.
    If, instead, i put in service URL docker service name of said service, it can reach it (that if they are in the same docker networks, but that's beyond the point).
    Currently, to work around this i had to duplicate my dashboard, meaning i have a tab "media" that has links to radarr, sonarr, transmission, etc - but they are "external" links with FQDN and gogle auth; so integration can't really reach them. To do that i created a separate tab "int" where i add those services just by their docker service name, and then integration seems to work. Having a bit of a pickle with Dash. yet but havent diagnosed yet.

  3. https://github.com/amerkurev/doku integration would be great as a next step of evolving Docker integration to show how much space containers, images, logs, etc, use.

  4. security suggestion - mounting docker socket is relatively insecure way, so i would suggest to add to documentation how to use docker integration using socket-proxy. if you want to i can make a PR for that using my examples, it's really easy thing to do, and it can limit access to docker API for the services attached to it, giving containers access to what is needed, but not everything.

as for ability to manage docker - i'm not sure you want to bother yourself with writing analog of Portainer. I mean, if you feel like it - go for it, im sure there's people interested in having it! but i mostly use Homarr for "home page dashboard" scenario, which it does very well and i would definitely try out docker management i integrations things, but not sure i would specifically used them all the time. Im not even sure i need Portainer accessing my 3 hosts with docker, to be honest.

@kimitrois
Copy link
Author

Environment

Docker

Version

0.8

Describe the problem

Hi Author, it's an awesome upgrading. Many new features had been added to Homarr, I can almost stop the Portainer in my docker. But I have about 13 containers runing in my docker and the docker integration page can't show them all with no scroll bar.
I am no techy person, I don't know if it is a bug...and I have to tick that "You've tried to debug yourself " box to submit this issue although I am not able to debug anything - -.

Additional info

No response

Please tick the boxes

Thank you for this. I didn't think about it ! It will be included in v0.8.1 I'm even going to try and add a search bar to search inside the containers. The max height will be the whole page by default.

I just realized I have no idea how this looks on mobile also 😭

@ajnart Although I am not able to understand much of you 2's conversation, I am looking forward to the future Homarr 🤣.

@ajnart ajnart closed this as completed in 3234f06 Jul 22, 2022
jonjon1123 pushed a commit to jonjon1123/homarr that referenced this issue Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants