I never expected Docker to handle document management and AI chatbots, but here we are

4

Broken-down radio and TV man (I Heart Radio and PBS). Now a author, researcher, and musician who writes in regards to the absurdity of our widespread world and other offbeat matters. Specializes in peculiar tune, the susceptible web, retro video games and tech, and researching irregular, yet attention-grabbing issues. His work has appeared in Vice, Tedium, Megastar Stride.com, At the current time I Found Out, Typebar, SyFy Wire, and How To Geek.

Currently working on a host of tune, web, and writing initiatives. Refer to him on the win athttps://djbuckfreelance.neocities.org/.

Over time, I’ve chanced on several Docker containers/apps I cannot work without. FOSS apps are persistently excessive-quality, but some apps kick it up a notch. I cherished the app so great and got to eager on an analogous apps. Apps you would per chance perchance per chance jokingly mumble “do things you wouldn’t expect from a Docker container” attributable to they’re top class-stage, characteristic-packed purposes that are (on the overall) free, self-hostable, and containerized. Here are about a of the single ones I’ve chanced on.

Paperless-ngx

For organising a searchable epic database

We are going to originate with something near and expensive to my work: epic management. Paperless-ngx can take care of something I throw its formula. It aligns with my passion in constructing and declaring a Files Notorious in a seamless formula while also allowing me to believe a hub for all my paperwork.

Paperless-ngx is open-provide and is supposed to originate a searchable database of bodily paperwork. The postulate is you would per chance scan or photo your paperwork and upload them into the database. I am the employ of it to manage charges, preserve tune of tune solutions and lyrics, apart from as constructing a database of manuals and chord charts.

Paperless-ngx uses OCR (optical personality recognition) to read and categorize the paperwork you upload. To put in it, I venerable the Docker Manufacture YML file, but made about a adjustments to construct up it to my liking.

Once I started the container with docker compose up -d, I created a login and got started. The interface is terribly straightforward and intuitive. The postulate is you correct lag and tumble your paperwork on the staunch facet, and it’ll originate constructing the index from there. That you just would per chance furthermore change OCR settings, AI settings, and add an application logo.

For my preliminary test, I venerable it to prepare and support up paperwork related to an album mission I’ve been kicking round for the previous few years.

I situation my OCR output to PDF and saved every thing in the frequent configuration. I made determined all AI capabilities had been switched off, since I didn’t ought to employ them for this explicit mission. There are going to be some proprietary paperwork in here that I fabricate no longer like to part with LLMs. I added my logo (a flying cheeseburger named Clyde) and began uploading recordsdata.

Dragging and dropping documents into paperless-ngx.

Constructing recordsdata for the epic is slightly easy. Whereas you happen to click on the epic or image, it opens up a sub-menu the set you per chance can add the finest records (serial number, creator, and so on) and sign it. That is an instance of my “logo:”

An MSpaint cheesburger logo inside of paperless with the words 'the document appearas in thsi pane' at the bottom.

From there, I started uploading relevant paperwork: the song list, lyrics, HTML recordsdata, chord charts/photos, and other records relevant to the album mission. Once every thing used to be loaded, I used so as to in actual fact originate working on the mission (a mission that I might per chance per chance been placing off for a decade at this point).

I wasn’t looking out at for to believe the ability to originate this form of database with a containerized app. It be slightly straightforward and helped me originate a in point of reality intrepid mission that I’ve been placing off for a while. I notion to employ this in the ruin for extra than correct my intrepid tune mission, and I am pleasantly bowled over by how right it is.

Open Web UI and Ollama

A match made in Docker heaven

An Ollama model explaining what it can and can't do to a user query.

I know, I know. I’ve made it crystal determined that I am no longer partial to LLMs in the previous (largely attributable to of the environmental affect, dodgy recordsdata, disdain for AI art, and the formula the weirdos accountable of it market them). That hasn’t changed. But I end believe an open thoughts about tech and all through my compare, I might per chance per chance not pass up the chance to chat in regards to the employ of Docker to self-host a neighborhood LLM.

I’ve surely been peculiar about Ollama for a while now, so I took this as an indication to install and take it for a test bustle. It uses Open WebUI.

Ollama has been accessible as a Docker image since 2023. I attempted it attributable to I love to self-host issues and attributable to it’ll bustle offline without sending my records any place else. Once installed, I chosen llama 3.2:1b (I notion to are attempting 3b and mistral apart from) because the mannequin to bustle, since or no longer it is slightly lightweight and my test machine also can take care of it.

I situation up the Docker Manufacture file and then pulled the mannequin straight away in with docker exec -it ollama ollama run llama3.2:1b.

The interface is slightly easy. The AI’s slightly insensible, but that is to be anticipated. I started by asking it about its boundaries and capabilities. Then I made it safe puns and a mind-teaser. It wasn’t very right at puns, I am sorry to teach. It resorted to dad jokes slightly hasty, but I did laugh at the espresso cup being mugged. Peak LLM humor.

An Ollama model making a series of bad puns.

The mind-teaser used to be a substandard failure. I answered it, the mannequin got at a loss for phrases and began coding…something. Allow us to by no formula discuss of all of it every other time.

Ollama randomly coding something.

I by no formula would’ve anticipated Docker to take care of an AI chatbot, but it absolutely works, and I will be able to test loads of attainable uses in the ruin.

Docker continues to amaze and shock me

Most regularly you peek a right app in an unexpected region. Docker is stuffed with these forms of surprises. Whereas I’ve only explored about a here, I am calm discovering recent and indispensable application. I’ve chanced on Docker to be a powerful companion to my work, spare time activities, and the relevant frightful absurd initiatives that I love to whole in my free time.

Read More

spot_imgspot_img

Subscribe

Related articles

spot_imgspot_img