Prechádzať zdrojové kódy

docs: add docker command to readme

Pablo Castellano 3 rokov pred
rodič
commit
3bfda80911
1 zmenil súbory, kde vykonal 17 pridanie a 3 odobranie
  1. 17 3
      README.md

+ 17 - 3
README.md

@@ -20,14 +20,28 @@ You are in charge of your data and customizations.
 <p align="center">
     <a href="http://www.appflowy.io"><b>Website</b></a> •
     <a href="https://discord.gg/9Q2xaN37tV"><b>Discord</b></a> •
-    <a href="https://twitter.com/appflowy"><b>Twitter</b></a> 
-</p>  
+    <a href="https://twitter.com/appflowy"><b>Twitter</b></a>
+</p>
 
 <p align="center"><img src="https://github.com/AppFlowy-IO/appflowy/blob/main/doc/imgs/welcome.png" alt="The Open Source Alternative To Notion." width="1000px" /></p>
 
 ## User Installation
+
 Please view the [documentation](https://appflowy.gitbook.io/docs/essential-documentation/install-appflowy/installation-methods) for OS specific installation instructions.
 
+You can also try AppFlowy using the docker image:
+
+```
+docker run --rm \
+  -v $HOME/.Xauthority:/root/.Xauthority:rw \
+  -v /tmp/.X11-unix:/tmp/.X11-unix \
+  -v /dev/dri:/dev/dri \
+  -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \
+  -v appflowy-data:/home/appflowy \
+  -e DISPLAY=${DISPLAY} \
+  appflowyio/appflowy_client:latest
+```
+
 ## Built With
 
 * [Flutter](https://flutter.dev/)
@@ -85,4 +99,4 @@ Distributed under the AGPLv3 License. See `LICENSE.md` for more information.
 Special thanks to these amazing projects which help power AppFlowy.IO:
 
 - [flutter-quill](https://github.com/singerdmx/flutter-quill)
-- [cargo-make](https://github.com/sagiegurari/cargo-make)
+- [cargo-make](https://github.com/sagiegurari/cargo-make)