WhaleDeck logo

How to get a Docker container's port mapping

Written by Typ0genius profile picture @Typ0genius
solution

Quickly learn How to get a Docker container's port mapping with WhaleDeck Shorts. Clear, step-by-step guides for Docker.


The answer is quite simple. The following command shows how to

get all mapped ports of the Docker container my_container.

docker port my_container
WhaleDeck
Tired of typing commands? Experience the ease of docker server management with WhaleDeck's beautiful GUI. Get things done faster and try it for free today! WhaleDeck on iPhone, iPad, and Mac