Hi Am new to Docker and seeking help here.
I want to create a container with Ubuntu and expose a port to end user. So that other person can access the container through putty using some IP:port
I have downloaded image using docker pull ubuntu
And tried creating container using docker run -it - d -p 88:8000 ubuntu
And, when tried docker ps, this is what i got
CONTAINER ID IMAGE COMMAND PORTS NAMES
e9c14f2cfd8b ubuntu “/bin/bash” 0.0.0.0:88->8000/tcp ubuntutest
i did docker inspect container_id, found an IP 172.17.0.6. Hence tried in browser as 172.17.0.6:88 also localhost:88 but both failed to load. In putty also i tried to connect but connection failed.
Any help is highly appreciated.
Thanks in Advance.