sonic-buildimage
sonic-buildimage copied to clipboard
Adjusting docker creation to include ports forwarding and docker network type
Why I did it
To support docker network configuration and support port forwarding from values in the manifest file
How I did it
update the docker_image_ctl.j2 file
How to verify it
In order to verify this feature, we need to have the complementary part in the sonic-utilities repo and then need to install a docker image file with manifest that includes ports in it and network type as well using sonic-package-manager and validate that they are as expected using docker commands such as: 'docker ps' and 'docker inspect' commands