浏览代码

Updated Docker Docs

Yoginth 7 年之前
父节点
当前提交
35601e90aa
共有 1 个文件被更改,包括 6 次插入8 次删除
  1. 6 8
      docker/README.md

+ 6 - 8
docker/README.md

@@ -1,20 +1,18 @@
 # Docker for Gitote
 
-[![Docker Repository on Quay](https://quay.io/repository/gitote/gitote/status "Docker Repository on Quay")](https://quay.io/repository/gitote/gitote)
-
 ## Usage
 
 To keep your data out of Docker container, we do a volume (`/var/gitote` -> `/data`) here, and you can change it based on your situation.
 
 ```sh
 # Pull image from Docker Hub.
-$ docker pull quay.io/gitote/gitote
+$ docker pull gitote/gitote
 
 # Create local directory for volume.
 $ mkdir -p /var/gitote
 
 # Use `docker run` for the first time.
-$ docker run --name=gitote -p 10022:22 -p 10080:3000 -v /var/gitote:/data quay.io/gitote/gitote
+$ docker run --name=gitote -p 10022:22 -p 10080:3000 -v /var/gitote:/data gitote/gitote
 
 # Use `docker start` if you have stopped it.
 $ docker start gitote
@@ -46,10 +44,10 @@ If you're more comfortable with mounting data to a data container, the commands
 
 ```sh
 # Create data container
-docker run --name=gitote-data --entrypoint /bin/true quay.io/gitote/gitote
+docker run --name=gitote-data --entrypoint /bin/true gitote/gitote
 
 # Use `docker run` for the first time.
-docker run --name=gitote --volumes-from gitote-data -p 10022:22 -p 10080:3000 quay.io/gitote/gitote
+docker run --name=gitote --volumes-from gitote-data -p 10022:22 -p 10080:3000 gitote/gitote
 ```
 
 #### Using Docker 1.9 Volume Command
@@ -59,7 +57,7 @@ docker run --name=gitote --volumes-from gitote-data -p 10022:22 -p 10080:3000 qu
 $ docker volume create --name gitote-data
 
 # Use `docker run` for the first time.
-$ docker run --name=gitote -p 10022:22 -p 10080:3000 -v gitote-data:/data quay.io/gitote/gitote
+$ docker run --name=gitote -p 10022:22 -p 10080:3000 -v gitote-data:/data gitote/gitote
 ```
 
 ## Settings
@@ -103,7 +101,7 @@ This container have some options available via environment variables, these opti
 
 Steps to upgrade Gitote with Docker:
 
-- `docker pull quay.io/gitote/gitote`
+- `docker pull gitote/gitote`
 - `docker stop gitote`
 - `docker rm gitote`
 - Finally, create a container for the first time and don't forget to do the same for the volume and port mapping.