Docker Tutorial: Logs and Port Mapping in 2019 (Fast!)

preview_player
Показать описание
Docker Tutorial: Logs and Port Mapping

From the course "Understanding Docker and Docker-Compose - 100% Hands-On"

Full course is here:

More information on the course here:
Рекомендации по теме
Комментарии
Автор

Learned more useful shortcuts in 8 minutes than the last week of deep dive dev work as a noob. Thanks

brewsbitcoin
Автор

Hi,
Nice and informative.

Appreciate if you can also do a video explaining how the port mapping works internally like how the host's network configurations are modified such that request reach to the container. I was specifically looking for this information and i did not find any video explaining the internals of the port forwarding.


Thanks,
K

KalyanKumar-jeiz
Автор

This video is very beginner-friendly. I am just facing a very strange thing with my docker container as I am running two different containers, one with bitwarden server running on port 8080:80 and other is nextcloud assigned with ports 8443:43. Now, the bitwarden container is working without any problem but when I try to open nextcloud on my local machine, it wont work. The ports are binded successfully but the server is not connecting. When I used "curl"command with curl localhost:8443, it responded me as connection time out. Please help. Thanks in advance

immortalcyanogen
Автор

In compose file java image is running on port ex 8000 how can I map to different port . I tried like this
ports:
-8000:8055
But it is not working
Compose file like this
Version: "3"
networks:
local-test:
driver: bridge
Services:
image: testimage
depends_on:
- rapid
networks:
local-test
environment:
rapid:
image: ___
depends_on:
- atom
networks:
local-test
environment:
atom:
Image:____
networks:
- local-test
ports:
-8000:8055


atom image is exposed on by default 8000 I want to map 8000 to some other port please help me

trilokkrish
Автор

Learned more useful shortcuts in 8 minutes than the last week of deep dive dev work as a noob. Thanks

brewsbitcoin