diff --git a/doc/quickstart.rst b/doc/quickstart.rst
index f517c8add1ff0839c740d24a623dd21fe30243a1..3ae4a6dfb9491c7e7cceb43a89a0f9613c5e5a73 100644
--- a/doc/quickstart.rst
+++ b/doc/quickstart.rst
@@ -243,7 +243,7 @@ to start the docker-registry v1:
     # CentOS
 
     yum install docker-registry
-    sed -i "s/REGISTRY_PORT=5000/REGISTRY_PORT=4000/g" /etc/sysconfig/registry
+    sed -i "s/REGISTRY_PORT=5000/REGISTRY_PORT=4000/g" /etc/sysconfig/docker-registry
     systemctl daemon-reload
     systemctl enable docker-registry
     systemctl start docker-registry
@@ -265,7 +265,7 @@ registry is currently running:
 
 ::
 
-    other_args="--insecure-registry 192.168.1.100:4000
+    other_args="--insecure-registry 192.168.1.100:4000"
 
 Docker Inc's packaged version of docker-engine for CentOS is defective and
 does not read the other_args configuration options from