Repository navigation
[Feature Request] Can a button be added in the services option to toggle Docker container? #3216
Replies: 3 comments
|
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ To implement a button to control Docker containers via For If you are familiar with programming, you could write a script that uses Please note that this is an advanced customization and requires a good understanding of Docker, Portainer, APIs, and potentially server-side scripting languages like Python, Node.js, or PHP. For more information on how to use the Docker API, you can refer to the Docker documentation:
For more information on how to use the Portainer API, you can refer to the Portainer documentation:
Remember to secure your Docker socket and API keys, and ensure that only authorized users can control your containers. If you are not comfortable implementing this yourself, you may need to seek help from a developer or the community around the Homepage project. This comment was generated by Glime. |
|
This discussion has been automatically closed due to lack of community support. See our contributing guidelines for more details. |
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Uh oh!
There was an error while loading. Please reload this page.
Description
For some Docker containers that I don't run continuously, can a button be added to control them via docker.sock or Portainer's API? When I want to run the service, I can simply click this button to start the container and then access the service via the provided link.
Other
No response
All reactions