Comments (13)
Since there are a lot of options for containers you could build the binary into, and even within a single image line (e.g. nginx) there could be multiple tags to build for and maintain perpetually, I think it would be an immense burden on the creator to maintain what could easily be 20+ images building out of each binary release. And even then people will have edge cases that they want support for.
Thank you @Sierra1011 , that's definitely where I'm at right now. While I understand @christianknell 's pov, right now setting up docker images for all those platforms isn't a priority for me.
from dasherr.
@christianknell Not sure what environment you're working in, but I'm bundling Dasherr and my config files into an nginx container and pushing that to my container registry. Works fine that way.
Alternatively you could use an initContainer to copy your config files into a PV for the Dasherr container to use. Or even handcrank the data initially, or use whatever CI you use to sync files into the volume.
from dasherr.
Since there are a lot of options for containers you could build the binary into, and even within a single image line (e.g. nginx) there could be multiple tags to build for and maintain perpetually, I think it would be an immense burden on the creator to maintain what could easily be 20+ images building out of each binary release. And even then people will have edge cases that they want support for.
Thank you @Sierra1011 , that's definitely where I'm at right now. While I understand @christianknell 's pov, right now setting up docker images for all those platforms isn't a priority for me.
and that's of course alright to me. I just wanted to start the discussion as I want to build a Helm Chart for Dasherr. And without fixed Dockerimages I should not do it. Therefore I will wait or find the time to drop you a PR with an automated way of building and releasing the Dockerimage. Thanks so far!
from dasherr.
Currently no, since it's literally just copying the release files into an existing (trusted) container's www folder. And I already covered the instructions for that in the README - if they're unclear or missing anything, pls let me know and I'll update.
from dasherr.
@erohtar The instructions are clear in my opinion, but without an existing Image there is no way of running the application on Kubernetes.
from dasherr.
Does installing a webserver container (eg nginx) and copying Dasherr files to that, not work with Kubernetes?
from dasherr.
Not really no. And in general it is far away from the "container and cloud native way" to build containers manually and run these in production environments.
from dasherr.
I have to agree with you on the latter part there.
Not really no.
Why not?
from dasherr.
Because in Kubernetes you are usually in the context of distributed environments. Therefore you don't know on which node the container will run. You then would need to make the files available on all nodes, where the container might run.
If the files are already included in a pre-build docker image, it would make things way easier and go more into the "best practice" direction.
from dasherr.
I don't have hands-on experience with Kubernetes myself (yet), so I'm in no position to argue here. I'll keep this open and add a low priority label.
from dasherr.
@Sierra1011: of course that would be possible. But still my point remains: the "real" way of using containers is to do it in an immutable way. Thus releasing fixed versions of the Dockerimage already containing all the files and not copying them over in any way.
from dasherr.
Since there are a lot of options for containers you could build the binary into, and even within a single image line (e.g. nginx) there could be multiple tags to build for and maintain perpetually, I think it would be an immense burden on the creator to maintain what could easily be 20+ images building out of each binary release. And even then people will have edge cases that they want support for.
Far easier and maintainable to provide the binary and let users drop it into their container of choice, even if that is fractionally more work for them.
I'm sure @erohtar would be open to a PR with an example Dockerfile for the docs?
from dasherr.
I guess the obvious response would be to offer a single image of nginx:latest
and then let users take it as they wish, but if it's not the creator's focus then it's fair to let them just do the binary 🙂
from dasherr.
Related Issues (20)
- Docker-compose. HOT 1
- [Bug] Minor Formatting Issue With Widgets Disabled HOT 3
- [Feature Request] Additional Glances data HOT 3
- Glances data fetching doesn't work HOT 15
- v1.04.01 included settings.json HOT 2
- [Bug] Host Check Causes Issues With Some Services HOT 9
- [Bug] Font Awesome and Text Alignment HOT 2
- [Feature Request] Flexible Web Font Icon Support (FontAwesome etc) HOT 14
- [Feature] Server Side Host Check HOT 9
- [Bug] Internet Outage or High Packet Loss Causes Dasherr to Lag or Fail
- [Bug] Using Edit Function On Non-Standard Pages Save To Wrong File HOT 2
- [Bug] Dasherr No Longer Communications with Glances as of Glances 4.x HOT 19
- CVE-2023-23607
- [Feature Request] Additional Section Features HOT 5
- [Feature Request] openTab at Tile level HOT 11
- [Feature Request] User Defined Tooltips HOT 10
- [Feature Request] password for dashboard HOT 5
- [Feature Request] Method(s) of having multiple Dasherr 'Pages' HOT 6
- [Question] FontAwesome Pro HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dasherr.