GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
APPJAIL-IMAGE(1) FreeBSD General Commands Manual APPJAIL-IMAGE(1)

appjail-imageCreate, list, remove, update images and much more

appjail image export [-f] [-c algo] [-n name] [-t tag] jail

appjail image get [-eHIpt] image [keyword ...]

appjail image import [-f] [-a arch] [-b branch] [-N ajspec-name] [-n image-name] [-t tag] [method+]path

appjail image jail [-a arch] [-t tag] -i image jail [options ...]

appjail image list [-eHIpt] [-i image] [keyword ...]

appjail image remove [-a arch] [-t tag] image

appjail image update [image]


appjail image metadata del [-f|-I] [-i] [-t tag] target keyword

appjail image metadata edit [-f|-I] target

appjail image metadata get [-f|-I] [-i] [-t tag] target keyword

appjail image metadata info [image]

appjail image metadata set [-f|-I] [-t tag] target keyword[+]=value

The appjail image utility manages AppJail images, that is, it creates them, imports them, updates them, creates jails using them, lists them, removes them, and so on.

The options are as follows:

[-f] [-c algo] [-n name] [-t tag] jail
Create an image using a jail. The jail must be stopped before using this subcommand.
Overwrite the image if it already exists.

If this parameter is not specified, this subcommand will not allow you to continue when the image has previously been exported successfully.

algo
Algorithm to compress the image. If is specified, the image is not compressed. By default, the compression algorithm specified by the parameter is used.
name
Image name.

By default the jail name is used.

tag
Export the image with the specified tag.

By default, the tag specified by the IMAGE_TAG parameter is used.

[-eHIpt] image [keyword ...]
Get information about image, that is, the keyword that represent the information to be obtained. Multiple keywords can be specified, which are displayed as a table-like interface in the order in which they are specified. If no keyword is specified, the default is name.

See KEYWORDS for a list of available keywords.

Not required when using -p. The \t character is used to delimit columns, so as not to show strange values, this option shows instead of \t in the case that a value contains the latter.
Shows the name of the columns.
Include empty values. By default, a minus sign is displayed when a value is empty.
Columnate the list.
Tabulate columns and values.
[-f] [-a arch] [-b branch] [-N ajspec-name] [-n image-name] [-t tag] [method+]path
Import an image using an AJSPEC file.

method indicates how to get the AJSPEC file, path is used as an argument to method. See METHODS for more details.

By default, an image is not re-imported if it was imported successfully and the timestamp matches the AJSPEC on the remote site, but when this parameter is specified, the process is done again regardless of the above.
arch
Import the image that was created for the specified architecture.

Use host (default) to use the architecture specified by the IMAGE_ARCH parameter, which is probably the same as the host. The reason for using a special keyword instead of simply using the IMAGE_ARCH parameter is for those Makejails that use an image that supports multiple architectures, but want to use the host platform instead of a hardcoded one, perhaps via an argument.

branch
When using a git-like method to get the appjail-ajspec(5) file, this parameter specifies the branch to use. By default no branch is specified.
ajspec-name
For the git and methods, this parameter indicates what filename is currently used for the AJSPEC file. The default is .
image-name
Image name.

If this option is not specified, the name is obtained from the AJSPEC file, but if it is not defined there, appjail image will not allow you to continue.

tag
Import the image with the specified tag.

By default, the tag specified by the IMAGE_TAG parameter is used.

[-a arch] [-t tag] -i image jail [options ...]
Create a jail using an image.

You can pass appjail-quick(1)'s options, except which is already passed. In effect, this is essentially just a wrapper for that option with the subparameter set.

arch
Import the image that was created for the specified architecture.

Use host (default) to use the architecture specified by the IMAGE_ARCH parameter, which is probably the same as the host.

tag
Import the image with the specified tag.
image
Image to be imported.
[-eHIpt] [-i image] [keyword ...]
get but shows each keyword for each image in a nice table.
, -H, -I, -p, -t
get.
image
image.
[-a arch] [-t tag] image
Remove image.

When using ZFS as the backend file system, this subcommand will recursively remove all datasets including all references, such as clones. Be careful.

If -a is specified, images matching arch are removed, and if -t is specified, images matching tag are removed. Both can be supplied to match exactly. If none is specified, all images matching image are removed.

[image]
Update all images or, if image is specified, only that one is updated.
[-f|-I] [-i] [-t tag] target keyword
Remove keyword from target.

See KEYWORDS for a list of available keywords.

[-f|-I]
Treat target as a file (-f) or as an image (-I).
Don't complain when keyword does not exist.
tag
Image tag.
[-f|-I] target
The program specified by the EDITOR environment variable is open to edit the AJSPEC file.

You should edit the AJSPEC file using metadata set and metadata del unless you know what you are doing.

[-f|-I] [-i] [-t tag] target keyword
Get the keyword value from target.

See KEYWORDS for a list of available keywords.

[-f|-I]
Treat target as a file (-f) or as an image (-I).
Don't complain when keyword does not exist.
tag
Image tag.
[image]
Get information in a human-readable format from all images or just image.
[-f|-I] [-t tag] target keyword[+]=value
Configure a new or existing keyword.

If is provided, value will be appended instead of replacing the entire value. Not all keywords accept this type of insertion.

See KEYWORDS for a list of available keywords.

[-f|-I]
Treat target as a file (-f) or as an image (-I).
tag
Image tag.

Image name.
Shows if the image has the AJSPEC file, if it does not.

Image architectures.

Valid are:

append: Yes

Image name.

Valid names are

append: No

Image tags.

Valid tags are

append: Yes

:arch
Unix date on which the image is supposed to have been created or modified.

append: No

The person or entity who is in charge of the image and everything related to it, preferably in a format such as ‘ <>’.

append: Yes

One-line description.

append: No

Home page.

append: No

Long description.

append: Yes

:arch
Checksum.

append: No

:arch
Sites where the image can be downloaded.

append: Yes

:arch
Image size.

append: No

Brief description of why this image cannot be imported.

append: No

Indicates the method that was used to obtain the AJSPEC file.

append: No

filename.

append: No

:arch
Display timestamp in a human-readable form.

Use the output of a command as an AJSPEC file.
Use the AJSPEC file found in a git(1) repository.
The program specified in the parameter is used to get the AJSPEC file.
Default. Use a file on the local file system.
|
Wrapper for the git method but using as URL prefix.
|
Wrapper for the git method but using as URL prefix.
|
Wrapper for the git method but using as URL prefix.
|
Wrapper for the git method but using as URL prefix.
Build a project using appjail-reproduce and use the generated appjail-ajspec(5) file. Useful for when you don't want to rely on the server to download the image.

This method accepts the appjail-reproduce syntax, so you can build a specific tag and/or for a specific architecture.

The appjail image utility exits 0 on success, and >0 if an error occurs.

appjail-quick(1) sysexits(3) appjail-ajspec(5) appjail-template(5) appjail.conf(5)

Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>

April 9, 2024 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.