You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by spusuf August 13, 2023
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.
I'm working on templates for new jails. It's implemented by allowing the user to provide a config file during jlmkr create or by executing jlmkr create mydockerjail /mnt/tank/path/to/docker/config. The new initial_setup config value can contain commands to run in the jail before the jail is started for the first time.
This feature is available for testing on the develop branch. See this docker template for example. I hope to release a new version of jailmaker with this feature included in the upcoming weeks.
The text was updated successfully, but these errors were encountered:
Discussed in #21
Originally posted by spusuf August 13, 2023
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.
I'm working on templates for new jails. It's implemented by allowing the user to provide a config file during
jlmkr create
or by executingjlmkr create mydockerjail /mnt/tank/path/to/docker/config
. The newinitial_setup
config value can contain commands to run in the jail before the jail is started for the first time.This feature is available for testing on the develop branch. See this docker template for example. I hope to release a new version of jailmaker with this feature included in the upcoming weeks.
The text was updated successfully, but these errors were encountered: