mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-09-03 07:37:48 -04:00
mkdir folder before docker run
This commit is contained in:
@@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user