1apptainer(1) apptainer(1)
2
3
4
6 apptainer-sif-add - Add data object
7
8
9
11 apptainer sif add [flags]
12
13
14
16 Add a data object to a SIF image.
17
18
19
21 --alignment=0 set alignment constraint [default: aligned on page
22 size]
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
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
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 --signentity="" the entity that signs (with -datatype 5-Signature)
65 [NEEDED, no default]:
66 example: 433FE984155206BD962725E20E8713472A879943
67
68
69 --signhash=0 the signature hash used (with -datatype 5-Signature)
70 [NEEDED, no default]:
71 1-SHA256, 2-SHA384, 3-SHA512,
72 4-BLAKE2s_256, 5-BLAKE2b_256
73
74
75
77 sif add image.sif recipe.def -datatype 1
78 sif add image.sif rootfs.squashfs --datatype 4 --parttype 1 --partfs 1 ----partarch 2
79 sif add image.sif signature.bin -datatype 5 --signentity 433FE984155206BD962725E20E8713472A879943 --signhash 1
80
81
82
83
85 apptainer-sif(1)
86
87
88
90 22-Jun-2022 Auto generated by spf13/cobra
91
92
93
94Auto generated by spf13/cobra Jun 2022 apptainer(1)