[Docker] Directly access container ports w/o exposing them

First, get the internal IP of the target container:

docker container inspect $MY_CONTAINER

Then you can access the desire port by its IP

x.x.x.x:$TARGET_PORT

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *