File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 131
131
+
132
132
[source,terminal]
133
133
----
134
- $ virt-customize -a <UUID>.qcow2 -- run=customize-vm -- selinux-relabel
134
+ $ virt-customize -a <UUID>-disk .qcow2 -- run=customize-vm -- selinux-relabel
135
135
----
136
136
137
137
. To create a Dockerfile that contains all the commands to build the container disk image, enter the following command:
@@ -140,13 +140,13 @@ $ virt-customize -a <UUID>.qcow2 --run=customize-vm --selinux-relabel
140
140
----
141
141
$ cat << EOF > Dockerfile
142
142
FROM scratch
143
- COPY -- chown=107:107 <uuid >-disk.qcow2 /disk/
143
+ COPY -- chown=107:107 <UUID >-disk.qcow2 /disk/
144
144
EOF
145
145
----
146
146
+
147
147
where:
148
148
149
- <uuid >-disk.qcow2:: Specifies the name of the custom image in `qcow2` format.
149
+ <UUID >-disk.qcow2:: Specifies the name of the custom image in `qcow2` format.
150
150
151
151
. Build and tag the container by running the following command:
152
152
+
You can’t perform that action at this time.
0 commit comments