Re:Serving my blog posts as Linux manual pages
by rezonant on Thursday February 29, 2024 @06:31PM
(#39556630)
On the other hand, it's Docker, so you know every blog will use their own base image.
[ Parent
| on HN ]
Re:Serving my blog posts as Linux manual pages
by astrea on Thursday February 29, 2024 @11:55PM
(#39558651)
Guys: Serve your blog via Docker itself. Docker image names are _already_ URLs. You could literally just have people do `docker pull myblog.com/recipes:latest` or `myblog.com/recipes:lasagna`.
Edit: and navigate like so: `docker image myblog.com/recipes` to list all recipes. God I love APIs.
Re:Serving my blog posts as Linux manual pages
by mrmattyboy on Friday March 01, 2024 @12:59AM
(#39558982)
And add search logic to the tag, so you don't need to know the name of the post, just the right word(s) to find it and let the "I'm feeling lucky" algorithm pick the right one :)
Re:Serving my blog posts as Linux manual pages
by TeMPOraL on Friday March 01, 2024 @06:13AM
(#39560689)
And then someone ports that back to regular Docker, and we get a whole new dimension of software supply chain security issues :).
Re:Serving my blog posts as Linux manual pages
by tomxor on Friday March 01, 2024 @06:01AM
(#39560624)
I can't tell how much of this is sarcasm. Turning what started out as a problem of "How do you load arbitrary remote TROFF sources into man" into "throw docker at it" because someone suggested an intermediate solution of "apt" which introduces security issues and no one posed that there might be an alternative that obviates any need for containerization. I mean these two things could be further from each other on the scale of incredibly lightweight to massively heavyweight.
Or maybe this is a microcosm of why docker and kuberwhatever happens so much.
Re:Serving my blog posts as Linux manual pages
by TeMPOraL on Friday March 01, 2024 @06:16AM
(#39560715)
It's the nerd version of that Reddit pattern of organic comment chain, each reply adding e.g. a line of song - only with pushing an absurd idea to the limits.
I'll bite: with GP's take, docker-compose would make for a good webring/blogroll. Or use it as bookmarking system.
cd blogs/cooking
docker-compose up
# 20 different recipe blogs available as man pages
Re:Serving my blog posts as Linux manual pages
by astrea on Saturday March 02, 2024 @02:01PM
(#39574938)
Exactly this. Just having fun.
Re:Serving my blog posts as Linux manual pages
by codetrotter on Friday March 01, 2024 @07:13AM
(#39561023)
I can confirm that I was jesting when I said to use Docker here :^)
Re:Serving my blog posts as Linux manual pages
by astrea on Saturday March 02, 2024 @02:00PM
(#39574930)
I thought we were just riffing, I wasn’t actually proposing this as a genuine technical solution. Just a fun thought experiment :)
Re:Serving my blog posts as Linux manual pages
by rezonant on Saturday March 02, 2024 @04:09PM
(#39575792)
It's probably more satire than anything else.
Re:Serving my blog posts as Linux manual pages
by u32480932048 on Friday March 01, 2024 @01:42PM
(#39565180)
Weekend project: Docker pull blog posts over DNS