App on docker and backup db from docker copy to outside docker?

I have ubuntu OS and then my ubuntu Os I install docker that have app container and mongo container.
step 1: My app container run shell script for backup database from mongo container
step 2: After backup I need to copy backup file in docker to my ubuntu OS
Please anyone help me

Hello Chanraphan,

Did you try to use docker copy ?

Best Regards,