docker - Error :Could not connect to Redis at redis:6379: Name or service not known -
i trying execute container named redis running right now.but error could not connect redis @ redis:6379: name or service not known
. 1 please hell me figure out issue , fix it.
naming container doesn't alter hosts file or dns, , depending on how ran container may not accessible via standard port docker port translation.
run docker inspect redis
, examine ports output, tell port accessible on ip. note, however, connectable on ip host. access off of host need use port above command , host's ip address. assumes local firewall rules allow it, beyond scope of site.
Comments
Post a Comment