瀏覽代碼

Update content.md

The `'` characters around the parameter name and value prevent it to be properly passed and should be skipped.
Nicolas Guelpa 5 年之前
父節點
當前提交
0d0c721992
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      postgres/content.md

+ 1 - 1
postgres/content.md

@@ -164,7 +164,7 @@ There are many ways to set PostgreSQL server configuration. For information on w
 -	Set options directly on the run line. The entrypoint script is made so that any options passed to the docker command will be passed along to the `postgres` server daemon. From the [docs](https://www.postgresql.org/docs/current/static/app-postgres.html) we see that any option available in a `.conf` file can be set via `-c`.
 
 	```console
-	$ docker run -d --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword %%IMAGE%% -c 'shared_buffers=256MB' -c 'max_connections=200'
+	$ docker run -d --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword %%IMAGE%% -c shared_buffers=256MB -c max_connections=200
 	```
 
 ## Locale Customization