Creating a backup script to dump mongodb inside a container, I need to copy the folder outside the container, Docker cp
doesn't seem to work with wildcards :
docker cp mongodb:mongo_dump_* .
The following is thrown in the terminal :
Error response from daemon: lstat /var/lib/docker/aufs/mnt/SomeHash/mongo_dump_*: no such file or directory
Is there any workaround to use wildcards with cp command ?