soma
soma copied to clipboard
Support ephemeral port binding
If publish_all_ports option is used, a container will allocate unused ports automatically when it starts.
To handle this scenario,
portbecomes optional in run command andops::run.HostConfigusespublish_all_portswhen external port is not specified.ops::runreturns the port number and image hash. Additionallist imagecommand would be needed inops::runfunction.- User will see both image hash and port number in CLI.