i new docker. want run official redis docker image on installed docker engine on windows 10 machine , access applications run on windows.
i have installed image https://hub.docker.com/_/redis/
and use command
"docker run --name some-redis -d redis"
to load image , run container successfully
but still port 6379 not accessible windows
the port exposed. means avalible linked containers (or containers in docker-compose). publish port (make available outside docker) use -p host_port:container_port
-p 6379:6379
Comments
Post a Comment