Этот коммит содержится в:
Christopher Speller
2015-06-19 12:49:22 -04:00
родитель 76fca02e26
Коммит b72b25f30a

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

@@ -34,22 +34,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.
`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
`pacman -S docker` `pacman -S docker`
`systemctl enable docker.service` `systemctl enable docker.service`
`systemctl start docker.service` `systemctl start docker.service`
`gpasswd -a <username> docker` `gpasswd -a <username> docker`
`newgrp docker` `newgrp docker`
2. docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium 2. 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