1apptainer(1)                                                      apptainer(1)
2
3
4

NAME

6       apptainer-sif-add - Add data object
7
8
9

SYNOPSIS

11       apptainer sif add   [flags]
12
13
14

DESCRIPTION

16       Add a data object to a SIF image.
17
18
19

OPTIONS

21       --alignment=0       set alignment [default: 4096 with --datatype 4-Par‐
22       tition, 0 otherwise]
23
24
25       --datatype=0      the type of data to add [NEEDED, no default]:
26         1-Deffile,       2-EnvVar,        3-Labels,
27         4-Partition,     5-Signature,     6-GenericJSON,
28         7-Generic,       8-CryptoMessage, 9-SBOM
29
30
31       --filename=""      set logical filename/handle  [default:  input  file‐
32       name]
33
34
35       --groupid=0      set groupid [default: 0]
36
37
38       -h, --help[=false]      help for add
39
40
41       --link=0      set link pointer [default: 0]
42
43
44       --partarch=0       the main architecture used (with --datatype 4-Parti‐
45       tion) [NEEDED, no default]:
46         1-386,       2-amd64,     3-arm,
47         4-arm64,     5-ppc64,     6-ppc64le,
48         7-mips,      8-mipsle,    9-mips64,
49         10-mips64le, 11-s390x,    12-riscv64
50
51
52       --partfs=0       the  filesystem  used  (with  --datatype  4-Partition)
53       [NEEDED, no default]:
54         1-Squash,    2-Ext3,      3-ImmuObj,
55         4-Raw
56
57
58       --parttype=0       the  type of partition (with --datatype 4-Partition)
59       [NEEDED, no default]:
60         1-System,    2-PrimSys,   3-Data,
61         4-Overlay
62
63
64       --sbomformat=""      the SBOM format (with --datatype 9-sbom):
65         cyclonedx-json, cyclonedx-xml,  github-json,
66         spdx-json,      spdx-rdf,       spdx-tag-value,
67         spdx-yaml,      syft-json
68
69
70       --signentity=""      the entity that signs  (with  --datatype  5-Signa‐
71       ture) [NEEDED, no default]:
72         example: 433FE984155206BD962725E20E8713472A879943
73
74
75       --signhash=0      the signature hash used (with --datatype 5-Signature)
76       [NEEDED, no default]:
77         1-SHA256,      2-SHA384,      3-SHA512,
78         4-BLAKE2s_256, 5-BLAKE2b_256
79
80
81

EXAMPLE

83              sif add image.sif recipe.def --datatype 1
84              sif add image.sif rootfs.squashfs --datatype 4 --parttype 1 --partfs 1 --partarch 2
85              sif add image.sif signature.bin --datatype 5 --signentity 433FE984155206BD962725E20E8713472A879943 --signhash 1
86
87
88
89

SEE ALSO

91       apptainer-sif(1)
92
93
94

HISTORY

96       22-Nov-2023 Auto generated by spf13/cobra
97
98
99
100Auto generated by spf13/cobra      Nov 2023                       apptainer(1)
Impressum