我得到了docker-compose.yml:
version: '2'
services:
web:
build: .
ports:
- "3000:3000"
volumes:
- .:/code
depends_on:
- db1
links:
- db1:mongo
db1:
image: mongo
Dockerfile:
FROM node:4.4.2
ADD . /code
WORKDIR /code
RUN npm i
CMD node app.js
我将转储存储在项目文件中,因此文件夹与容器共享。怎么看起来像恢复转储的过程?在Web容器中,我无法访问mongoresore commnad ...