You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DOCKER_README.MD
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
This guide shows our recommended recommended way of installing Docker on your OS X machine.
1
+
In this page you will find our recommended way of installing Docker on your machine.
2
+
This guide is made for OSX users.
2
3
3
4
## Install docker
4
5
@@ -7,23 +8,23 @@ First install Docker using [Homebrew](https://brew.sh/)
7
8
$ brew install docker
8
9
```
9
10
10
-
You can install [Docker Desktop](https://docs.docker.com/get-docker/) if you wish, or use the `docker-machine` command to work with your Docker containers. This guide assumes you use the `docker-machine` command.
11
+
You can then install [Docker Desktop](https://docs.docker.com/get-docker/) if you wish, or use `docker-machine`. As we prefer the second option, we will only document this one.
11
12
12
-
## Setup your Docker
13
+
## Setup your docker
13
14
14
15
Install `docker-machine`
15
16
```
16
17
$ brew install docker-machine
17
18
```
18
19
19
-
Then install [VirtualBox](https://www.virtualbox.org/)using[Homebrew Cask](https://github.com/Homebrew/homebrew-cask) to get a driver for your Docker machine
20
+
Then install [VirtualBox](https://www.virtualbox.org/)with[Homebrew Cask](https://github.com/Homebrew/homebrew-cask) to get a driver for your Docker machine
20
21
```
21
22
$ brew cask install virtualbox
22
23
```
23
24
24
-
You may need to enter your password and authorize the application through`System Settings` > `Security & Privacy`.
25
+
You may need to enter your password and authorize the application in your`System Settings` > `Security & Privacy`.
25
26
26
-
Create a new machine, and set it up as default, and connect your shell to the machine with the following commands:
27
+
Create now a new machine, set it up as default and connect your shell to it (here we use zsh. The commands should anyway be displayed in each steps' output)
You need to provide few environment variables at runtime to be able to run the [Common Test Suite](https://github.com/algolia/algoliasearch-client-specs/tree/master/common-test-suite).
But we advise you export them in your `.bashrc` or `.zshrc`. That way, you can use [Docker's shorten syntax](https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file) to retrieve your variables.
52
+
However, we advise you to export them in your `.bashrc` or `.zshrc`. That way, you can use [Docker's shorten syntax](https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file) to set your variables.
52
53
53
54
```bash
54
55
### For external contributors, only the following env variables should be enough
0 commit comments