winnielinnie
MVP
- Joined
- Oct 22, 2019
- Messages
- 3,641
Being less familiar with Docker/Kubernetes and containers, while having good results with Jails under TrueNAS Core, I'm curious if it's possible to do the following in SCALE:
Have a standalone "from scratch" container with specific CLI tools, mount points, and the ability to SSH into such a "container"; while being able to freely update the packages within.
In other words, I'm wondering if it's possible to re-create what I'm already doing with Core and a custom Jail. (See below.)
---
I have a "Swiss-army knife" Jail with the following CLI tools:
With a single session (or using tmux), I can start archival downloads, download galleries, download videos, etc, and even use ffmpeg to encode if needed. It's very lightweight, and gets the job done.
However, this is due to the "vanilla" nature of Jails, in which you can essentially "build your own Jail" from a basic template. Updating a Jail's packages with "pkg" is straightforward.
I'm not sure if what I described above is feasible with Docker/Kubernetes? They seem to be dependent on premade containers, with their own repository and maintenance/update schedules.
Is there such a way to add a "vanilla" container, then install particular packages within, and then update them as you would any packages on a legitimate Linux system?
Have a standalone "from scratch" container with specific CLI tools, mount points, and the ability to SSH into such a "container"; while being able to freely update the packages within.
In other words, I'm wondering if it's possible to re-create what I'm already doing with Core and a custom Jail. (See below.)
---
I have a "Swiss-army knife" Jail with the following CLI tools:
- wget
- curl
- aria2
- httrack
- yt-dlp (fork of youtube-dl)
- gallery-dl
- wayback_machine_downloader
- ffmpeg
With a single session (or using tmux), I can start archival downloads, download galleries, download videos, etc, and even use ffmpeg to encode if needed. It's very lightweight, and gets the job done.
However, this is due to the "vanilla" nature of Jails, in which you can essentially "build your own Jail" from a basic template. Updating a Jail's packages with "pkg" is straightforward.
I'm not sure if what I described above is feasible with Docker/Kubernetes? They seem to be dependent on premade containers, with their own repository and maintenance/update schedules.
Is there such a way to add a "vanilla" container, then install particular packages within, and then update them as you would any packages on a legitimate Linux system?
Last edited: