Within a Dockerfile , with a VOLUME instruction. VOLUME /uploads. On the command-line, with the -v flag for docker run . $ docker run -d -v /uploads myapp.
確定! 回上一頁