Project in container A and has a function to restore data,which may need to send files to container B
Or I should not do like this?
Project in container A and has a function to restore data,which may need to send files to container B
Or I should not do like this?
2
Answers
Try using
docker-compose
and a shared volume between your containers.try using volume option when you run container A & B
docker run -t imagename:tag -v 'data path shared on local': path data on container A
container Adocker run -t imagename:tag -v 'data path shared on local': path data on container B
container Bwhen restore new file in container A in access in path local and container B could used it