Skip to content

Commit 324f006

Browse files
update docker
1 parent 1a29447 commit 324f006

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

learn/cookbooks/docker.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Docker is a tool that bundles applications into containers. Docker containers en
99
Docker containers are distributed in images. To use Meilisearch, use the `docker pull` command to download a Meilisearch image:
1010

1111
```sh
12-
docker pull getmeili/meilisearch:v0.30
12+
docker pull getmeili/meilisearch:v1.0
1313
```
1414

1515
Meilisearch deploys a new Docker image with every release of the engine. Each image is tagged with the corresponding Meilisearch version, indicated in the above example by the text following the `:` symbol. You can see [the full list of available Meilisearch Docker images](https://hub.docker.com/r/getmeili/meilisearch/tags#!) on Docker Hub.
@@ -26,7 +26,7 @@ After completing the previous step, use `docker run` to launch the Meilisearch i
2626
docker run -it --rm \
2727
-p 7700:7700 \
2828
-v $(pwd)/meili_data:/meili_data \
29-
getmeili/meilisearch:v0.30
29+
getmeili/meilisearch:v1.0
3030
```
3131

3232
### Configure Meilisearch
@@ -42,7 +42,7 @@ docker run -it --rm \
4242
-p 7700:7700 \
4343
-e MEILI_MASTER_KEY='MASTER_KEY'\
4444
-v $(pwd)/meili_data:/meili_data \
45-
getmeili/meilisearch:v0.30
45+
getmeili/meilisearch:v1.0
4646
```
4747

4848
#### Passing instance options with CLI arguments
@@ -53,7 +53,7 @@ If you want to pass command-line arguments to Meilisearch with Docker, you must
5353
docker run -it --rm \
5454
-p 7700:7700 \
5555
-v $(pwd)/meili_data:/meili_data \
56-
getmeili/meilisearch:v0.30
56+
getmeili/meilisearch:v1.0
5757
meilisearch --master-key="MASTER_KEY"
5858
```
5959

@@ -71,7 +71,7 @@ To keep your data intact between reboots, specify a dedicated volume by running
7171
docker run -it --rm \
7272
-p 7700:7700 \
7373
-v $(pwd)/meili_data:/meili_data \
74-
getmeili/meilisearch:v0.30
74+
getmeili/meilisearch:v1.0
7575
```
7676

7777
The example above uses `$(pwd)/meili_data`, which is a directory in the host machine. Depending on your OS, mounting volumes from the host to the container might result in performance loss and is only recommended when developing your application.
@@ -86,7 +86,7 @@ To import a dump, use Meilisearch's `--import-dump` command-line option and spec
8686
docker run -it --rm \
8787
-p 7700:7700 \
8888
-v $(pwd)/meili_data:/meili_data \
89-
getmeili/meilisearch:v0.30
89+
getmeili/meilisearch:v1.0
9090
meilisearch --import-dump /meili_data/dumps/20200813-042312213.dump
9191
```
9292

@@ -106,7 +106,7 @@ To generate a Meilisearch snapshot with Docker, launch Meilisearch with `--sched
106106
docker run -it --rm \
107107
-p 7700:7700 \
108108
-v $(pwd)/meili_data:/meili_data \
109-
getmeili/meilisearch:v0.30
109+
getmeili/meilisearch:v1.0
110110
meilisearch --schedule-snapshot --snapshot-dir /meili_data/snapshots
111111
```
112112

@@ -118,7 +118,7 @@ To import a snapshot, launch Meilisearch with the `--import-snapshot` option:
118118
docker run -it --rm \
119119
-p 7700:7700 \
120120
-v $(pwd)/meili_data:/meili_data \
121-
getmeili/meilisearch:v0.30
121+
getmeili/meilisearch:v1.0
122122
meilisearch --import-snapshot /meili_data/snapshots/data.ms.snapshot
123123
```
124124

learn/getting_started/quick_start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ These commands launch the **latest stable release** of Meilisearch.
5151

5252
```bash
5353
# Fetch the latest version of Meilisearch image from DockerHub
54-
docker pull getmeili/meilisearch:v0.30
54+
docker pull getmeili/meilisearch:v1.0
5555

5656
# Launch Meilisearch in development mode with a master key
5757
docker run -it --rm \
5858
-p 7700:7700 \
5959
-e MEILI_MASTER_KEY='MASTER_KEY'\
6060
-v $(pwd)/meili_data:/meili_data \
61-
getmeili/meilisearch:v0.30 \
61+
getmeili/meilisearch:v1.0 \
6262
meilisearch --env="development"
6363
```
6464

0 commit comments

Comments
 (0)