I\'d like to retrieve the port mapped to a container using docker inspect, I found something like that:
docker inspect --format=\" {{ .NetworkSettings.Ports }} \
The docker port command may be more useful; it produces output like this:
docker port
$ docker port 0a7b4df54966 443/tcp -> 0.0.0.0:4430 80/tcp -> 0.0.0.0:8888