Этот коммит содержится в:
Andrii Bubis
2015-06-24 10:11:20 -07:00
родитель e7900b016d
Коммит 5db72e682b

Просмотреть файл

@@ -35,31 +35,35 @@ Local Machine Setup (Docker)
### Ubuntu ### ### Ubuntu ###
1. Follow the instructions at https://docs.docker.com/installation/ubuntulinux/ or use the summery below. 1. Follow the instructions at https://docs.docker.com/installation/ubuntulinux/ or use the summery below.
``` bash ``` bash
sudo apt-get update sudo apt-get update
sudo apt-get install wget sudo apt-get install wget
wget -qO- https://get.docker.com/ | sh wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker <username> sudo usermod -aG docker <username>
sudo service docker start sudo service docker start
newgrp docker newgrp docker
``` ```
2. Run `docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium` 2. Run `docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium`
3. When docker is done fetching the image, open http://localhost:8065/ in your browser 3. When docker is done fetching the image, open http://localhost:8065/ in your browser
### Arch ### ### Arch ###
1. Install docker using the following commands: 1. Install docker using the following commands:
``` bash
pacman -S docker ``` bash
systemctl enable docker.service pacman -S docker
systemctl start docker.service systemctl enable docker.service
gpasswd -a <username> docker systemctl start docker.service
newgrp docker gpasswd -a <username> docker
``` newgrp docker
```
2. Start docker container: 2. Start docker container:
``` bash
docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium ``` bash
``` docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium
```
3. When docker is done fetching the image, open http://localhost:8065/ in your browser. 3. When docker is done fetching the image, open http://localhost:8065/ in your browser.
### Notes ### ### Notes ###