Add c.gh.debarshiray.toolbox to the container during 'podman create'

Commit 8127daa29e added the com.github.debarshiray.toolbox label
to the user-specific customized image generated by the 'create'
command, which gets inherited by toolbox containers using the image.
However, there might be really old images lying around in users' caches
that don't have the label, and in those cases the damage can be
limited by adding it directly to the newly created toolbox container.

Moreover, a subsequent commit will remove the need for the
user-specific customized image, and which will make this change
mandatory.

https://github.com/debarshiray/toolbox/pull/160
This commit is contained in:
Debarshi Ray 2019-05-14 16:39:35 +02:00
parent 48ddffb3d8
commit fd08a98bd9

View file

@ -925,6 +925,7 @@ create()
$toolbox_path_set \ $toolbox_path_set \
--group-add wheel \ --group-add wheel \
--hostname toolbox \ --hostname toolbox \
--label "com.github.debarshiray.toolbox=true" \
--name $toolbox_container \ --name $toolbox_container \
--network host \ --network host \
$no_hosts \ $no_hosts \