Use DOCKER to create an ENVIRONMENT for your OLD DEVICES that will ALWAYS WORK!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 86

  • @acubley
    @acubley หลายเดือนก่อน +79

    Only left channel audio is coming thru. 👂

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +15

      That may have been related to me finding that the OBS settings I had were wrong...But only when I started editing. Didn't notice the audio but the video was rubbish too...I'll be more vigilant next time, and apologies.

    • @SimonLYW
      @SimonLYW หลายเดือนก่อน +7

      OH! That's what it is! I was listing with my headphones with only my right ear cup over my ear. I was so confused 😂

    • @dennisdecoene
      @dennisdecoene หลายเดือนก่อน +4

      The content is very good though

    • @acubley
      @acubley หลายเดือนก่อน

      @@jeffs_piinthesky It takes time, it's always funny to go back to old, more established channel's old videos and see the difference. Have fun!

    • @acubley
      @acubley หลายเดือนก่อน

      @@dennisdecoene Indeed, just had to turn it up a bit.

  • @ovalwingnut
    @ovalwingnut 16 วันที่ผ่านมา +1

    Thank you. That was much easier than I would have expected You RoCk.

  • @jim7smith
    @jim7smith 7 วันที่ผ่านมา +1

    Well done detective work getting all the pieces together..

  • @Rudirudel
    @Rudirudel หลายเดือนก่อน +4

    Thanks for the video! I don't use a label printer but immediately thought about some other hardware that I always fear will not be supported on linux forever. Never thought about Docker images to preserve old os versions though. Cool idea!👍

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      Thank you for the support!!! If you find yourself using this, share it with everyone here!! I'd certainly like to hear about it!!

  • @AlastairMontgomery
    @AlastairMontgomery หลายเดือนก่อน +3

    Good idea to use older tech on current systems, couple of things that I thought of when watching.
    Could be expanded in so many ways like watching a shared folder for incoming files, turn them into a Postscript file and printing.
    If you push the created image to Docker or Github container registry you don't have to worry about building it again later when libraries etc have moved on, it will always be available at the versions available during the build.
    Building image with Python 3.12, you don't need to do that on the target Pi Zero, you could build the image on a more powerful Pi, push it to a registry and then pull it down to the Pi Zero.

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      Love it!!! If you implement something like this, please share on here!!!

  • @billbliss7407
    @billbliss7407 หลายเดือนก่อน +3

    First, there's a lot of really good info here - Thank you for making this video! I learned a couple of Docker tricks I hadn't known. But, as you mentioned, that was harder than it needed to be UNLESS you need to use that specific QL Designer software. To simply use the QL-700 itself, no specific driver is needed. Here's what I did with my QL-700: Installed the current version of Raspberry Pi OS on my Pi4, plugged in the printer, opened Libre Office. Created a label. Done. That said, my method does require a monitor etc. However, one could just as easily set up a Pi as a generic print server, and share the QL-700 that way.

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      Thanks so much!!! I didn't have so much luck with mine. I did try hooking the QL-700 straight into a PI5 running PI OS 64-bit...Ran up GIMP in my case and tried to print but same deal. Said it printed successfully but nothing happened on the device itself. Must say I didn't try LibreOffice so I will give that a go!

    • @liquidsonly
      @liquidsonly หลายเดือนก่อน +1

      I use glables installed with apt on debian.

  • @Thats_Mr_Random_Person_to_you
    @Thats_Mr_Random_Person_to_you หลายเดือนก่อน +2

    Great, easily digestable, video using Docker.
    As you say the really valuable bit here is being able to make the docker image now whilst all the repos and source code is easily avalible then simply only needing to store the docker image (and backups etc) and without fail you will always be able to get it to work no matter if the Sd card fails, the pi hardware is replaced etc..
    Its all well and good being able to build a legacy environment now, but not so much a given in 12 months or 24 months time.
    Also as you only expose the exact ports you need to do get an element of 'isolation' from the old environment so you dont have the risk of super old OSes running on your network (albeit less of a 'risk' to a normal home user with an ISP modem that by and large defualts to blocking all inbound traffic - although these days malware aimed at 'random joe' is more likely with an eye to adding devices to a botnet, so again isolation of an old OS environment rather than running it from Sd card does somewhat assist)

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      100% right. Docker is really valuable to be able to create immutable "time machines". Of course, the trick is then keeping those safe *lol*

  • @chris2pple1
    @chris2pple1 หลายเดือนก่อน +7

    Thanks for sharing your knowledge, IT Networking enthusiast here and dedicated SBC fan but first love was Raspberry Pi

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      Networking is awesome and something I've been involved with for decades now - though of course it's a landscape that's moving so rapidly that it's tricky to keep up!!! One thing I want to do is upgrade me home network to 2.5 or maybe 10Gbps but it'd be both very expensive and tons of work needing tons of time!!! 🤣

  • @shawnlowe1392
    @shawnlowe1392 หลายเดือนก่อน +5

    Great video! I would love to see more action with Docker and older hardware. I think there is a big calling for businesses, not to mention keeping things out of the landfill!

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +2

      Yup, exactly!!! Even if Docker wont work there are options like VM's with PCI pass through where you can build environments to drive old devices that work perfectly well!

  • @LeeOades
    @LeeOades หลายเดือนก่อน +3

    Nice one, Jeff. So you could presumably use this technique to build and deploy the container onto a NAS or other Docker supporting device. Thanks for sharing in such an easy to follow way.

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      Yup, that's the beautiful thing about containers, they're very portable!!!

  • @knghtbrd
    @knghtbrd หลายเดือนก่อน +1

    Y'know, this gave me ideas for other specific purpose things to be done with Docker I didn't really understand when I was working on other projects. Docker has a couple of languages all its own and can seem pretty intimidating if you don't know how it all works. I sort of have some ideas now, just enough that I'm starting to be comfortable with it, and … yeah, it would've done a lot to make life easier dealing with some retro hardware. Not even just old devices, but like you're lucky if you have 8 color graphics on your computer old. Docker would be a great way to get a vintage Appletalk server running, for example.

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      For sure!!! A Docker-based AppleTalk server would be a great project!!!!

  • @dennisdecoene
    @dennisdecoene หลายเดือนก่อน +5

    What I don't fully grasp is why you run a docker pi image, on a pi. Why not just configure the pi itself? I know you said to freeze the software versions but that seems to me to be something one can overcome. What am I missing? I love docker to have a 'contained' and 'tamed' environment.

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +4

      My big thing with containers is that once you have your image, you can save it, store it somewhere or upload it to a registry...in other words, there are easy ways to keep that specific image available and safe...As you quite rightly say, you could just install straight on the pi bare metal and that's fine. But you're then dependent on the SD card lasting forever and the s/w you installed always being available - assuming at some point you have to reinstall it.

    • @dennisdecoene
      @dennisdecoene หลายเดือนก่อน

      @@jeffs_piinthesky great conclusion. I've been swayed!

  • @DamjanDimitrioski
    @DamjanDimitrioski 18 วันที่ผ่านมา +1

    Can you try installing a driver for xerox printer in the docker image?

    • @jeffs_piinthesky
      @jeffs_piinthesky  16 วันที่ผ่านมา

      I can't personally as I have no xerox equipment to test against. However, assuming the driver package is available as a .Deb package for ARM architectures then you should be able to install it via the dockerfile no problem.

  • @Chef_PC
    @Chef_PC หลายเดือนก่อน +1

    I have this exact label printer and have been looking for a way to put it back in use. I also want to network my non-networkable HP 1020 laserjet that I don't want to keep an old win7 laptop running as a print server...

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      You can always set up a pi zero as an inexpensive print server, so long as there are suitable drivers for Linux...but HP are normally pretty good with Linux support.

  • @jyvben1520
    @jyvben1520 หลายเดือนก่อน +4

    Great demo, Brother providing python info, positive, the lazy me would have just used the provided old raspbian image, sdcard for it would be stored with the printer.

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      Trust me, I was tempted to do the same thing!!! But storing a container image resiliently is a whole lot easier than an SD card!! 😃

  • @Darkk6969
    @Darkk6969 หลายเดือนก่อน +2

    Nice! That's pretty neat to use docker with this printer. I looked on Amazon and noticed this model Brother QL-800 label maker (newer) is cheaper than the QL-700 so wondering if it'll work with it?

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +2

      Honestly, I can't promise anything as I don't have that model. But the same concept really does apply to anything. If you can create the virtual environment the device needs, and you can still get the drivers etc, then you should be in good shape!

  • @coredog64
    @coredog64 หลายเดือนก่อน +3

    One possible way to slim down the container is to use a multistage build. Build-essentials and the dev libraries are installed into a builder. The Python lib can be zipped up and copied into a smaller container that only has your printer frontend.

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      Totally agree...That was a complete oversight on my part!!!

  • @SB-qm5wg
    @SB-qm5wg หลายเดือนก่อน +2

    That's pretty awesome!

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      Thank you!!! And yeah, sometimes rather than bringing the device to the OS, you need to bring the OS to the device 😃

  • @daveys
    @daveys หลายเดือนก่อน +2

    I must say that I find Docker pretty complicated, but I think this seems like a good way to use containers. Can anyone recommend a good book on Docker?

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      I'm afraid I can't help you with books on Docker...But hopefully someone here can help you out. The docs on the Docker website are actually pretty good but the downside is I often find them short on examples so I find myself having to search around for those once I know the keywords etc I want to use. Anyway, if you do hear about any good materials, please share your experiences here!!!

  • @VolleyballFamilyAndFriends
    @VolleyballFamilyAndFriends หลายเดือนก่อน +3

    Thanks mate!

  • @hew34
    @hew34 หลายเดือนก่อน

    Brother printers often have a setting to print or not to print when something is sent raw to them - maybe cups would have worked if you fiddle with the settings - or sometimes they only work from some drivers over network not USB

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      Thanks so much for the hint!!! I did spend quite a lot of time tinkering with both the config and drivers. Right now it seems like there's a directive in the driver that's simply not compatible with the version of CUPS shipped with Jessie so it's odd that they marked the driver for that release. But for sure I'll continue poking around!!

  • @DJDashzn
    @DJDashzn หลายเดือนก่อน

    Great video
    Lots to learn here

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      Every day is a learning opportunity!!! Thanks for the support!!!

  • @Shocker99
    @Shocker99 หลายเดือนก่อน +3

    How did Jeff not spot the obvious flaw in the video?

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +2

      Ok, I'll bite...what is the flaw??? Aside from Docker or USB not working any more....Or I guess the paper for the printer not being sold any more 🤣

    • @Shocker99
      @Shocker99 หลายเดือนก่อน +1

      @@jeffs_piinthesky The audio throughout the entire video. Maybe it would be wise to play your videos with headphones on before you click the upload button. 😉

    • @jeffs_piinthesky
      @jeffs_piinthesky  25 วันที่ผ่านมา +1

      This one was a problem with the OBS settings. I'd had to rebuild my PC I use to record with and didn't realise all the settings had turned to garbage. Sounded ok in the editor so didn't notice till after it was rendered. Apols.

  • @randomnoobpt
    @randomnoobpt หลายเดือนก่อน +1

    Nice AI bro... Thought it was only gonna be the thumbnail 💀

  • @FLORIDIANMILLIONAIRE
    @FLORIDIANMILLIONAIRE หลายเดือนก่อน +2

    Your fake lab in the background looks very Hollywood high tech

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      It's very ChatGPT low tech 🤣

  • @diepieche
    @diepieche หลายเดือนก่อน +2

    I think better reupload this good informative video because audio so horrible low. 😢

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      Sorry for the bad audio (& video)...It'll be better in the next video.

  • @another3997
    @another3997 18 วันที่ผ่านมา +1

    A great example of a good idea ruined by a complicated, clunky, terminal based interface in Linux. It's like a trip back in time to the '80s and '90s, when we all suffered with MSDOS and it's spin-offs, only worse. Typing in lines of arcane, error prone commands to achieve things that were quickly replaced by a few button clicks in early GUIs, is "quaint" at best. 35 years ago, after my 8 bit machines and a Commodore Amiga, I got well acquainted with the command line interface of DOS, because it was a necessity. But things have moved on, though apparently Linux fans didn't get the memo. 😉

    • @jeffs_piinthesky
      @jeffs_piinthesky  18 วันที่ผ่านมา

      All the GUIs in the world won't help you with creating a dockerfile which is inherently a textual document 🤣. But I do agree that the variety of Linux GUIs out there are still not where they should be. Though I'd also say that Windows is pretty lame these days too.

  • @g984
    @g984 หลายเดือนก่อน +3

    Im not sure I can get past the AI face....

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      It may be an AI background. But it's my face

  • @MichaelButlerC
    @MichaelButlerC 27 วันที่ผ่านมา +1

    Linux helps reduce e-waste!!!

    • @jeffs_piinthesky
      @jeffs_piinthesky  25 วันที่ผ่านมา +1

      Yup!!! Who knew I was becoming an eco warrior!?!?!

  • @edwardfitz-gibbon6484
    @edwardfitz-gibbon6484 25 วันที่ผ่านมา +1

    Well I started watching, but about 2 minutes in I was listening to a different language. Sorry. 🤷🏻‍♂️🤷🏻‍♂️

    • @jeffs_piinthesky
      @jeffs_piinthesky  22 วันที่ผ่านมา

      Was it too in depth or just confusing? Let me know how I can improve!!

  • @davetreadwell
    @davetreadwell หลายเดือนก่อน +1

    First time coming across this channel... is the audio usually so terrible? And doe they always use an AI avatar to present?!

    • @6Diego1Diego9
      @6Diego1Diego9 หลายเดือนก่อน +2

      It that why his face is twitching

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      I promise I'm genuine!! 😃

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      I hadn't noticed my face twitching...I hope I'm not getting sick!!!

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +1

      And yeah, the audio was bad this time. As per the description, I had bad settings in OBS that I only discovered in edit. Apols

  • @yetzt
    @yetzt หลายเดือนก่อน +3

    that ai generated background does not do you any favours.

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน +3

      😃 Yeah, it's a bit cheesy but I'm like the world's worst artist and my little home office is such a mess that it would look dreadful if I didn't green screen it

    • @yetzt
      @yetzt หลายเดือนก่อน

      @@jeffs_piinthesky all the nerd caves are messy. if you are too embarrassed, just go with a subtle pattern or gradient from a free wallpaper website. looks orders of magnitude more professional .)

  • @DaisyWang-ss7pl
    @DaisyWang-ss7pl หลายเดือนก่อน +2

    Great Work! We'd love to offer you some boards if you might need them in the upcoming content. (PCBWayDaisy)

    • @jeffs_piinthesky
      @jeffs_piinthesky  หลายเดือนก่อน

      Hi Daisy! Thank you so much!!! There is a project for early 2025 that I'm targeting some custom PCB's for. Let me know how I can get in touch!!!

  • @nakfan
    @nakfan 27 วันที่ผ่านมา +1

    Great video 👍 Immediately subscribed 😊 Per (DK)

    • @jeffs_piinthesky
      @jeffs_piinthesky  25 วันที่ผ่านมา +1

      Thanks so much for the support!!!