Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/vendor/colinmollenhour/credis/Client.php on line 474

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/vendor/colinmollenhour/credis/Client.php on line 474

Fatal error: Uncaught CredisException: Connection to Redis redis:6379 failed after 2 failures.Last Error : (1) php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/vendor/colinmollenhour/credis/Client.php:493 Stack trace: #0 /app/vendor/colinmollenhour/credis/Client.php(489): Credis_Client->connect() #1 /app/vendor/colinmollenhour/credis/Client.php(811): Credis_Client->connect() #2 /app/vendor/colinmollenhour/credis/Client.php(655): Credis_Client->__call('select', Array) #3 /app/vendor/colinmollenhour/cache-backend-redis/Cm/Cache/Backend/Redis.php(415): Credis_Client->select(1) #4 /app/vendor/colinmollenhour/cache-backend-redis/Cm/Cache/Backend/Redis.php(250): Cm_Cache_Backend_Redis->_applyClientOptions(Object(Credis_Client)) #5 /app/vendor/magento/framework/Cache/Backend/Redis.php(34): Cm_Cache_Backend_Redis->__construct(Array) #6 /app/vendor/magento/zendframework1/library/Zend/Cache.php(153): Magento\Framework\Cache\Backend\Redis->__construct(Array) #7 /app/vendor/magento/zendframework1/librar in /app/vendor/colinmollenhour/credis/Client.php on line 493