Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Update readme with docker instructions for #24
Browse files Browse the repository at this point in the history
  • Loading branch information
chclaus committed Apr 28, 2021
1 parent a4c4c75 commit de50ed1
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,15 @@ Now you can call `mage install` to build and install the binaries. If you just c

### Build and run with Docker

Building dave with Docker is simple
The image of dave is available on Docker Hub as [`micromata/dave`](https://hub.docker.com/r/micromata/dave).

If you like to build it for your own, just execute the following lines:

git clone [email protected]:micromata/dave.git
cd dave
docker build -t dave .
docker build -t micromata/dave:latest .

Let dave run
You can run dave with the following lines:

# create webdav home
mkdir webdav-home
Expand All @@ -239,12 +241,7 @@ Let dave run
-p 8000:8000 \
-v $(pwd)/examples/config-sample.yaml:/config.yaml:ro \
-v $(pwd)/webdav-home:/tmp:rw \
dave

To export the static binary simply run

docker run --rm --entrypoint="" dave cat /usr/local/bin/dave > dave
chmod u+x dave
micromata/dave:latest

## Connecting

Expand Down

0 comments on commit de50ed1

Please sign in to comment.