Skip to content

Commit

Permalink
Update docker.md
Browse files Browse the repository at this point in the history
  • Loading branch information
all3kcis committed Jul 23, 2020
1 parent 4fe336c commit 87fbe18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fr_FR/docker.md
Expand Up @@ -9,3 +9,7 @@
`docker-compose exec -T <mongodb service> sh -c 'mongodump --archive' > db.dump`
**Docker-compose - restore**
`docker-compose exec -T <mongodb service> sh -c 'mongorestore --archive' < db.dump`

## Docker network
Exemple de création de réseau
`docker network create --driver bridge networkname_netbit --subnet 174.100.0.0/16 --gateway 174.100.0.1 --opt com.docker.network.bridge.name=networkname`

0 comments on commit 87fbe18

Please sign in to comment.