OSX 10.11.3 Install gitlab server using docker
<p>My English not good, sorry!
I install gitlab server using docker. </p>

<p>First I install Docker Toolbox,and then I follow the steps below：</p>

<p>Step 1. Launch a postgresql container</p>

<pre><code>docker run --name gitlab-postgresql -d \
--env 'DB_NAME=gitlabhq_production' \
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
--volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.4-12
</code></pre>

<p>Step 2. Launch a redis container</p>

<pre><code>docker run --name gitlab-redis -d \

--volume /srv/docker/gitlab/redis:/var/lib/redis \
sameersbn/redis:latest
</code></pre>

<p>Step 3. Launch the gitlab container</p>

<pre><code>docker run --name gitlab -d \
--link gitlab-postgresql:postgresql --link gitlab-redis:redisio \
--publish 10022:22 --publish 10080:80 \
--env 'GITLAB_PORT=10080' --env 'GITLAB_SSH_PORT=10022' \
--env 'GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alpha-numeric-string' \
--volume /srv/docker/gitlab/gitlab:/home/git/data \
sameersbn/gitlab:8.4.2
</code></pre>

<p>After the end，I can by <a href="http://192.168.99.100:10080" rel="nofollow">http://192.168.99.100:10080</a> access to gitlab server, and can create a project, but I can't through the <a href="http://localhost:10080" rel="nofollow">http://localhost:10080</a> access to gitlab server, others can not upload and download， should not do port forwarding, I should how to do?</p>