From 473cabd3f12113046375130b78c52be357ea46a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Fatih=20Pazarba=C5=9F=C4=B1?= <88274580+greendesertsnow@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:55:14 +0300 Subject: [PATCH] Add \ for line breaks on the multiline docker command (#2722) --- learn/cookbooks/docker.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/learn/cookbooks/docker.mdx b/learn/cookbooks/docker.mdx index 787e5110ca..80a690cee2 100644 --- a/learn/cookbooks/docker.mdx +++ b/learn/cookbooks/docker.mdx @@ -58,7 +58,7 @@ If you want to pass command-line arguments to Meilisearch with Docker, you must docker run -it --rm \ -p 7700:7700 \ -v $(pwd)/meili_data:/meili_data \ - getmeili/meilisearch:v1.6 + getmeili/meilisearch:v1.6 \ meilisearch --master-key="MASTER_KEY" ``` @@ -91,7 +91,7 @@ To import a dump, use Meilisearch's `--import-dump` command-line option and spec docker run -it --rm \ -p 7700:7700 \ -v $(pwd)/meili_data:/meili_data \ - getmeili/meilisearch:v1.6 + getmeili/meilisearch:v1.6 \ meilisearch --import-dump /meili_data/dumps/20200813-042312213.dump ``` @@ -111,7 +111,7 @@ To generate a Meilisearch snapshot with Docker, launch Meilisearch with `--sched docker run -it --rm \ -p 7700:7700 \ -v $(pwd)/meili_data:/meili_data \ - getmeili/meilisearch:v1.6 + getmeili/meilisearch:v1.6 \ meilisearch --schedule-snapshot --snapshot-dir /meili_data/snapshots ``` @@ -123,7 +123,7 @@ To import a snapshot, launch Meilisearch with the `--import-snapshot` option: docker run -it --rm \ -p 7700:7700 \ -v $(pwd)/meili_data:/meili_data \ - getmeili/meilisearch:v1.6 + getmeili/meilisearch:v1.6 \ meilisearch --import-snapshot /meili_data/snapshots/data.ms.snapshot ```