Browse Source

Update 'README.md'

天问 1 year ago
parent
commit
8004d9f458
1 changed files with 14 additions and 1 deletions
  1. 14 1
      README.md

+ 14 - 1
README.md

@@ -1,3 +1,16 @@
 # h2database
 # h2database
 
 
-h2数据库,只一个jar包
+h2数据库,只一个jar包
+
+## Usage
+
+```
+
+# https://github.com/oscarfonts/docker-h2/blob/master/2.1.214/Dockerfile
+
+docker run -d -p 1521:1521 -p 81:81 -v /path/to/local/data_dir:/opt/h2-data -e H2_OPTIONS=-ifNotExists --name=MyH2Instance oscarfonts/h2
+
+
+```
+
+