mirror of
https://github.com/containers/podman.git
synced 2025-12-19 07:09:39 +08:00
MAC address json unmarshal should allow strings
Create a new mac address type which supports json marshal/unmarshal from and to string. This change is backwards compatible with the previous versions as the unmarshal method still accepts the old byte array or base64 encoded string. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -99,6 +99,7 @@ podman \$opts run -d --name myrunningcontainer --label mylabel=$LABEL_RUNNING \
|
||||
-p $HOST_PORT:80 \
|
||||
-v $pmroot/var/www:/var/www \
|
||||
-w /var/www \
|
||||
--mac-address aa:bb:cc:dd:ee:ff \
|
||||
$IMAGE /bin/busybox-extras httpd -f -p 80
|
||||
|
||||
podman \$opts pod create --name mypod
|
||||
|
||||
Reference in New Issue
Block a user