Both of those file locations are actually the same place. Docker has mapped your home/ng/Projects/online-shop folder to its own /var/www/html folder. It's basically a virtual linux installation and your folder is injected into a location in the docker's file system. So running dd will give you a response from Docker's perspective.
Your rename statement doesn't actually rename anything. The old path is exactly the same as the new path, so nothing should change.