浏览代码

Run update.sh

Docker Library Bot 5 年之前
父节点
当前提交
24c2b7b099
共有 1 个文件被更改,包括 5 次插入13 次删除
  1. 5 13
      ghost/README.md

+ 5 - 13
ghost/README.md

@@ -76,7 +76,7 @@ If all goes well, you'll be able to access your new site on `http://localhost:30
 
 
 ### Upgrading Ghost
 ### Upgrading Ghost
 
 
-You will want to ensure you are running the latest minor version (1.25.5 or 0.11.9) of Ghost before upgrading major versions. Otherwise, you may run into database errors.
+You will want to ensure you are running the latest minor version of Ghost before upgrading major versions. Otherwise, you may run into database errors.
 
 
 For upgrading your Ghost container you will want to mount your data to the appropriate path in the predecessor container (see below): import your content from the admin panel, stop the container, and then re-mount your content to the successor container you are upgrading into; you can then export your content from the admin panel.
 For upgrading your Ghost container you will want to mount your data to the appropriate path in the predecessor container (see below): import your content from the admin panel, stop the container, and then re-mount your content to the successor container you are upgrading into; you can then export your content from the admin panel.
 
 
@@ -84,24 +84,16 @@ For upgrading your Ghost container you will want to mount your data to the appro
 
 
 Mount your existing content. In this example we also use the Alpine base image.
 Mount your existing content. In this example we also use the Alpine base image.
 
 
-### Ghost 1.x.x
-
-```console
-$ docker run -d --name some-ghost -p 3001:2368 -v /path/to/ghost/blog:/var/lib/ghost/content ghost:1-alpine
-```
-
-### Ghost 0.11.xx
-
 ```console
 ```console
-$ docker run -d --name some-ghost -p 3001:2368 -v /path/to/ghost/blog:/var/lib/ghost ghost:0.11-alpine
+$ docker run -d --name some-ghost -p 3001:2368 -v /path/to/ghost/blog:/var/lib/ghost/content ghost:alpine
 ```
 ```
 
 
 ### Docker Volume
 ### Docker Volume
 
 
-Alternatively you can use a [data container](http://docs.docker.com/engine/tutorials/dockervolumes/) that has a volume that points to `/var/lib/ghost/content` (or /var/lib/ghost for 0.11.x) and then reference it:
+Alternatively you can use a named [docker volume](https://docs.docker.com/storage/volumes/) instead of a direct host path for `/var/lib/ghost/content`:
 
 
 ```console
 ```console
-$ docker run -d --name some-ghost --volumes-from some-ghost-data ghost
+$ docker run -d --name some-ghost -v some-ghost-data:/var/lib/ghost/content ghost
 ```
 ```
 
 
 ### SQLite Database
 ### SQLite Database
@@ -124,7 +116,7 @@ When opening a ticket at https://github.com/TryGhost/Ghost/issues it becomes nec
 
 
 ```console
 ```console
 $ docker exec <container-id> node --version
 $ docker exec <container-id> node --version
-v6.11.2
+[node version output]
 ```
 ```
 
 
 ## Note about Ghost-CLI
 ## Note about Ghost-CLI