This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker container id - 8c37a950839a | |
# Make sure that the `/var/backups` folder is clean inside the container | |
# 1. Copy Mongo dump to container folder | |
(Local System)$ docker cp dump/reaction 8c37a950839a:/var/backups | |
# 2. Connect to mongodb docker container | |
(Local System)$ docker exec -it 8c37a950839a /bin/bash |
OlderNewer