get ports from docker inspect