Sample data not showing up on site.

I used the markshust/docker-magento repo to create a docker setup for a local development Magento2 server. I then tried multiple stackoverflow answers such as this in an effort to get sample data to show up on the site, to no avail.

I tried both composer and bin/magento.

One thing i notices is on the command line in the <magento_root> directory, <magento_root>/bin/magento sampledata:deploy runs and produces a lot of output like it’s doing something and Magento_SampleData show up as enabled in <magento_root>/bin/magento module:status, though nothing hows up in the site. However, <magento_root>/src/bin/magento sampledata:deploy ends in an error:

Connection to Redis redis:6379 failed after 2 failures.Last Error : (0) php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known

Any help understanding what I have done wrong would be greatly appreciated. Thanks for your time.

submitted by /u/crodgers1981
[link] [comments]