port variable not available for next command?
$ /bin/sh -c "port=$(docker inspect -f '{{range $i, $e := .HostConfig.PortBindings }}{{$p := index $e 0}}{{$p.HostPort}}{{end}}' firehose-01); echo Port: $port"
Port:docker inspect is returning correct port
$ /bin/sh -c "echo Port: $(docker inspect -f '{{range $i, $e := .HostConfig.PortBindings }}{{$p := index $e 0}}{{$p.HostPort}}{{end}}' firehose-01)"
Port: 49153