Open SonalDeshmukh1 opened 5 months ago
Hi @SonalDeshmukh1 , in that case we won't be deleting the containers. And if we don't delete it, we won't be able to create new container exposing same ports. @Prashant-Jagtap any suggestions how we can handle this?
If we are not deleting the containers, same port number cannot be used. Maybe we can try keeping 2 new variables in the config :
port=true/false
port_no=<list of ports which can be used> # similar approach like handled for images.
Note : Also make sure to use a default port (container port) on which the service is starting inside the container which will be same for all.
Add Port Mapping to docker command when creating the container, as some packages might require it for UI Verification . Thanks