Anyone using OpenBlocks? reddit / selfhosted ---------------------------------------------------------------------- thisiszeev · 2023-10-25 19:41 I want to play with it and see what it can do... but I would prefer to run it as bare metal so I can really get my hands dirty and mess around with things. Anyone else making use of it... any pointers and advice. Has anyone managed to get it running bare metal? My test server is an AMD 64 bit dual core HP Mini Server with 8GB RAM. What I would like to do is develop custom web apps as well as apps for Android and iOS. AppleTV and AndroidTV would be really super as well. I've been coding since 1987 so I am confident I can pick it up rather quickly. ---------------------------------------------------------------------- Wheels35 · 2023-10-26 06:40 While I'm not personally familiar with OpenBlocks, I took a glance at the site and everything points to docker, which made me intrigued as to why you specifically want to run bare metal vs running in docker? Any particular reason you feel the need to run bare metal? ---------------------------------------------------------------------- thisiszeev · 2023-10-26 13:10 Sometimes I want to get elbows deep into the actually inner workings of my selfhosted solution. Docker limits that freedom. Add to that, Docker and I have never been able to get along. Saying that, I do intend to sit down and attempt to learn docker from the beginning soon as I think I have missed something along the way. Take my PiHole servers for example. I have added my own code that allows me to run multiple servers all synced in realtime, including the logs. ---------------------------------------------------------------------- Wheels35 · 2023-10-26 13:39 I understand being able to customize *most things,* but understanding how a docker container gets created (in the first place) will probably help you lean into it, and may actually provide *more* tinkering fun. Additionally, I do know that a lot of companies rely on their pre- built Docker containers to offer a very standardized support structure because they know exactly the environment its run in, since all Dockers are would be identical. Quick rundown on it (feel free to ignore). Docker containers, in their purest form (i.e. Dockerfiles) are just a collection of scripts on how to build a standardized image, in a repeatable fashion. Dockerfiles have curl commands, install commands, and more. All Dockerfiles start with a base image (or not as you can even create your own base image), whether thats an OS image (like Ubuntu or Alpine) or an existing Docker image like NGINX, you then do whatever commands your want to 'build' it, like adding files, downloading programs/documents, setting permissions etc, then wrap it up. Any customizations to code can *easyily* be done by creating your own variation of a Dockerfile (which furthermore can easily be copied from existing Dockerfiles) and either including those customizations right there, or using environment variables (flags that can be used during run time) to pass additional files/folders/customizations into the container. ---------------------------------------------------------------------- thisiszeev · 2023-10-26 14:10 I wasn't aware that it was this flexible. I thought it was more a What you get is what you get type of solution. Now I am a lot more motivated to start learning it again. ---------------------------------------------------------------------- Wheels35 · 2023-10-26 15:18 For most users, it is, since they can get what they need out of a standard container with some ENV values. But from those that are willing to do a bit of scripting/programming it opens a whole new world. As soon as I realized how easy it was to make your own containers, (or even Docker compose a bunch together) it sent me down a whole new rabbit hole. ---------------------------------------------------------------------- thisiszeev · 2023-10-26 17:02 I am putting my PHP8.1 refresher course on hold... I am packing light and traveling down this proverbial rabbit hole. You are the first person that has actually given me a valid motivation to master docker. Are there any good online tutorials and/or youtube playlists you can recommend so I can prepare for my journey? ---------------------------------------------------------------------- Wheels35 · 2023-10-26 17:50 Haha, idk PHP is hotness (again) right now. Freecodecamp has quite a few videos on Docker from the past few years, Network Chuck (I'm not personally a fan but he has good information) has a full series, and Christian Lempa just started redoing his videos (the old ones still hold up) and Use my even has some free courses that are really well regarded, here's one in particular that is decent: [https://www.udemy.com/course/docker- essentials/](https://www.udemy.com/course/docker-essentials/) Docker even has their own series called Docker 101 https://www.docker.com/101-tutorial/, which can be completely run from a docker-in-web feature. (Yes you can run docker containers in the web, also kind of mind-blowing to me https://labs.play-with- docker.com/) Also r/docker , there was a recent post asking for updated courses, so hopefully more information will flow thru there as well. As long as you use Docker Desktop and a docker linting extension for your ide of choice (I use VS Code because I do), you should be able to adjust any code that might be outdated. The good part is, Dockerfiles as far as I'm aware, are backwards/forwards compatible, just some things have newer syntax for better compatibility. I know in VSCode the docker linting will outlink to the docker website with explanations on code changes, and suggestings for making my Dockerfiles better. Good luck and have fun! ---------------------------------------------------------------------- sneakpeekbot · 2023-10-26 17:50 Here's a sneak peek of /r/docker using the [top posts](https://np.reddit.com/r/docker/top/?sort=top&t=year) of the year! \#1: [Don't Let Reddit Kill 3rd Party Apps!](/r/Save3rdPartyApps/comme nts/13yh0jf/dont_let_reddit_kill_3rd_party_apps/) | [3 comments](https ://np.reddit.com/r/docker/comments/140639k/dont_let_reddit_kill_3rd_pa rty_apps/) \#2: [Don't Let Reddit Kill 3rd Party Apps!](/r/Save3rdPartyApps/comme nts/13yh0jf/dont_let_reddit_kill_3rd_party_apps/) | [3 comments](https ://np.reddit.com/r/docker/comments/13z8fk0/dont_let_reddit_kill_3rd_pa rty_apps/) \#3: [Docker is no longer sunsetting Free Team organizations](https:// np.reddit.com/r/docker/comments/120zkyz/docker_is_no_longer_sunsetting _free_team/) ---- ^^I'm ^^a ^^bot, ^^beep ^^boop ^^| ^^Downvote ^^to ^^remove ^^| ^^[Contact](https://www.reddit.com/message/compose/?to=sneakpeekbot) ^^| ^^[Info](https://np.reddit.com/r/sneakpeekbot/) ^^| ^^[Opt-out](ht tps://np.reddit.com/r/sneakpeekbot/comments/o8wk1r/blacklist_ix/) ^^| ^^[GitHub](https://github.com/ghnr/sneakpeekbot) ---------------------------------------------------------------------- thisiszeev · 2023-10-26 18:39 I last studied PHP at version 4.x, then refreshed at 5.x. Have gotten lazy over the years as almost everything I needed already existed. But now I am finding myself to be more demanding. For example, I now find myself needing an API to run internally on my network to store data from various servers in a central point for processing. So I am building a really basic API that allows me to store and catalog JSON files in a central point for later processing. PHP8.1 has proven to be my trusty go to in making this a reality. I love the idea of being able to create "networks" in dockers. This would be very useful when having to simulate real world setups. I'm a big fan of Network Chuck ;) ---------------------------------------------------------------------- Wheels35 · 2023-10-26 19:19 I haven't used php (outside wordpress) for quite a years myself, so im still rusty with it. With networks, its more than simulating real world setups, it *is a real world* setup. Where I work ( Sr DevOps) we use dockers in production, on a multitude of our applications, most of them we containerized ourselves. It makes single applications *extremely* easy to put into an HA environment. Its also just nice knowing that 'virtual networks' have no noticible performance decrease vs a physical network, as they used to in the (way) past. There's a lot you can do, and I wouldnt be surprised if you find a way to incorporate it into your idea. Outside of the obvious, learning dockers is wicked fun. ​ And while I dont hate Network Chuck by any means, im just a person who clashes with overly enthusiatic presenters. His material is top notch though, and arguably has my favorite explanation of docker networks.