ibt2/docker-tools/shell.sh

4 lines
195 B
Bash
Executable file

#!/bin/sh
docker build -t ibt2-dump-and-restore .
docker run -it --name ibt2-shell --rm --network="ibt2_default" -v `pwd`:/data --link=ibt2_ibt2-mongo_1:ibt2-mongo ibt2-dump-and-restore --shell