docs: Update Docker development instructions to include chown.

This adds a command to change ownership of /srv/zulip to the zulip
user.
This commit is contained in:
Emilio Aburto L 2017-04-24 08:03:03 -04:00 committed by Tim Abbott
parent e3e52e7284
commit a8521dc988
1 changed files with 2 additions and 1 deletions

View File

@ -395,7 +395,8 @@ docker build -t user/zulipdev .
Commit and tag the provisioned images. The below will install Zulip's dependencies: Commit and tag the provisioned images. The below will install Zulip's dependencies:
``` ```
docker run -itv $(pwd):/srv/zulip -p 9991:9991 user/zulipdev /bin/bash docker run -itv $(pwd):/srv/zulip -p 9991:9991 user/zulipdev /bin/bash
# /bin/bash /srv/zulip/tools/provision --docker $ /bin/bash sudo chmod -R zulip:zulip /srv/zulip
$ /bin/bash /srv/zulip/tools/provision --docker
docker ps -af ancestor=user/zulipdev docker ps -af ancestor=user/zulipdev
docker commit -m "Zulip installed" <container id> user/zulipdev:v2 docker commit -m "Zulip installed" <container id> user/zulipdev:v2
``` ```