mkdir folder before docker run

This commit is contained in:
Pierre Dubouilh 2020-06-07 17:42:16 +02:00
parent 2565dcca13
commit 32b64da0e6
No known key found for this signature in database
GPG key ID: 10E1A7CE67E74C0F

View file

@ -91,6 +91,7 @@ the master branch is automatically built and pushed to [dockerhub](https://hub.d
```sh ```sh
# pull from dockerhub and run # pull from dockerhub and run
% mkdir ~/LocalDirToShare
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa % sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa
``` ```
@ -99,6 +100,7 @@ if you prefer building the image yourself :
```sh ```sh
# build gossa within a build container, needs to be ran within the sources, ../ from here, and run # build gossa within a build container, needs to be ran within the sources, ../ from here, and run
% docker build -t gossa -f support/build.Dockerfile . % docker build -t gossa -f support/build.Dockerfile .
% mkdir ~/LocalDirToShare
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa % sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa
``` ```