Replies: 5 comments 4 replies
-
What you could already do is:
Alternatively you can create one 'template' jail manually and then just copy this jail to a new directory. Say your jail is here |
Beta Was this translation helpful? Give feedback.
-
By the way I don't think you need openssh and curl in each jail, as curl is already available on the host (SCALE) and SCALE also has an SSH server. So if you want to open a shell in the jail just ssh into SCALE and run |
Beta Was this translation helpful? Give feedback.
-
Copying a containers directory wouldnt change the hostname and other misc settings, so I have settled by creating a new jail then running this command in the TrueNAS host, manually replacing
|
Beta Was this translation helpful? Give feedback.
-
thanks a lot for this, I was not able to get the get-docker.sh running (using filebrowser to create the file)). |
Beta Was this translation helpful? Give feedback.
-
I'm locking this discussion as I've opened dedicated issues to track feature requests. Please see Template for new jails. |
Beta Was this translation helpful? Give feedback.
-
On every jail I've made I found myself using the same few scripts, and it would be nice to have these all done in one "base" or "template" jail to then copy to new installs for an outdated but ready to run install without even having to open the jail's shell.
For now I'd simply have a jail automatically install curl, openssh, and docker, but it would be nice to not start from scratch for different needs.
My (basic) commands on every install currently are:
apt update, install openssh, install curl, curl get docker convenience script, run docker install script.
Beta Was this translation helpful? Give feedback.
All reactions