4 ms·
I don’t see a purpose to this in an era of Docker. They say their mission is to make it easy to host your own web apps, and provide some security around those a
by symlinkk 7y ago
I don’t see a purpose to this in an era of Docker. They say their mission is to make it easy to host your own web apps, and provide some security around those apps, but Docker makes this easy as well and also provides a small amount of insulation around containers.
- zenhack 7y agohttps://sandstorm.io/news/2014-08-19-why-not-run-docker-apps https://sandstorm.io/news/2014-08-19-why-not-run-docker-apps
- deleted 7y ago[deleted]
- Polylactic_acid 7y agoI have spend at least 15 hours trying to self host things with docker with little success. Its not nearly as easy as people make it sound. You don't just "docker run ..." and away you go. You have to spend ages reading the manual for each app, creating configuration files for the app you want to host and then mounting them in to the container, then you have to set up a database, reverse proxy, certificate renewal, and then you have to network it all together. And then half of the time the docker containers you need aren't built for ARM so your RPI home server cant run it without building it all yourself or finding an alternative container that is built. And then docker has no built in update mechanism so you have to constantly manually check that nothing you are using has any updates. The only time docker actually is simple is when you use one of the "all in one" containers that has everything you need but then it binds to port 80 and 443 and now thats the only app you can run. Docker could be used in combination with a sandstorm style tool. The real value in Sandstorm was meant to be that you didn't have to configure everything, you just press "install" and it would be all done for you and kept up to date.
- jve 7y ago> I have spend at least 15 hours trying to self host things with docker with little success ... reading the manual for each app, creating configuration files for the app you want to host and then mounting them in to the container, then you have to set up a database, reverse proxy, certificate renewal, and then you have to network it all together Being with 0 experience with Docker and only with bare Linux experience, I'v set myself to set up nextcloud + mysql + nginx-proxy (with some custom config) + letsencrypt via docker containers on arm platform. Learning docker basics, some docker-compose, I'v got that set up in a few evenings, maybe some 6 to 10 hours total (including first time experience of setting up raspberry pi with external storage). nginx-proxy being hardest part for me, as perfect image that fits arm platform was made available just after fair amount of searching and trying to understand what it takes to make it compatible with arm. After all, I was really pleased with what I felt how much docker saved time for me. Maybe not really fast, but some productive full working day that is. I'v learned something about a new technology that gave me nice preconfigured webserver with hardened TLS settings etc. I thought, if I'd have to go down the route of manually installing this dependency, configuring this and that, etc - uh, that would surely have taken me longer. The other side being a joy was - hey, I can host this all on a single raspberrypi, the frontend is isolated from backend and I can still add stuff behind nginx-proxy (and it will be isolated from nextcloud frontend), as my RAM usage is somwhere around 512MB. Just wanted to share how I feel about Docker when putting my hands on it (single host, swarmless scenario)
- unityByFreedom 7y agoDocker is great compared to pre-docker times but it does not go as far as Sandstorm. If your widget takes 6 steps, and another otherwise equal one takes 1 step, then whether that widget is for users or developers, the choice is a no-brainer.
- throwaway77384 7y agoI can heartily recommend you something called Dokku, which more or less takes all the pain out of Docker. I had no experience with this, but got fed up of spiraling Heroku costs. Decided to slap Dokku on a €2.50 pcm VPS, runs like a charm. Multiple containers all communicating with one another, staging, production, failover environments, shared storage, all behind multiple SSL-secured domains. Dokku is single-server only, however. So if you need a Docker swarm, you'll have to do that yourself :)
- commoner 7y agoDokku is great for deploying web services using Docker on a single server, especially if you are familiar with Heroku buildpacks/services and prefer to do everything in the terminal. Another option is CapRover, which is also free and open source. CapRover is a simple interface for Docker Swarm, Nginx, and Let's Encrypt that is designed for deploying web services. It optionally supports scaling web apps across multiple servers, and also includes a web interface which can be used in place of its CLI, if you prefer to manage the system in the browser. https://caprover.com https://caprover.com https://github.com/caprover/caprover https://github.com/caprover/caprover
- esjeon 7y ago> I have spend at least 15 hours trying to self host things with docker That only says you haven't spent enough time. Say, 15 hours would be just enough to understand postgres container and figure out the best working configuration for you. Apps on top of it? Good luck spending extra 30 hours. The thing is docker has never claimed that you don't need to learn about the software you're gonna run. It simplifies only deployment (a.k.a. installing and executing binaries) by providing uniform environment, and by making configuration files more reproducible, but it never reduced the complexity of software configuration. But that doesn't mean Docker isn't a viable option for simplified server-application deployment. All we need is a set of well maintained recipes. It's just that there are too many recipes out there, unreviewed, untested, unmaintained. If one central party takes the responsibility here, Docker (or any other container solution) can outshoot Sandstrom in no time in terms of both quality and quantity.
- brnt 7y agoI'm afraid you're missing the people Sandstorm is targeted at. People who do want a server, and a variety of services on that server, and the ability to move the server to a hoster or local metal, but have no desire, and thanks to Sandstorm no need, to acquire the skills you are referring to. People for which a server is in support of their workflows, not a goal in itself. You're right, a Dockerized alternative might be as good or better. But until such a platform exists (I do not count Cloudron because it's closed source now), it is not viable for the people Sandstorm is targeting.
- deleted 7y ago[deleted]