Docker builds its own github

Source: Internet
Author: User
Tags ssh port docker run
GitHub Build: Build a GitHub site (warehouse) Daocloud: public hub search git download github mirror docker pull gitlab/gitlab-ce:8.7.0-rc3.ce.0 \ download GitHub image.  Test Container: I was mapping his port settings to the host's 3280 because the 80 port was already occupied when the node project was built. Docker run--rm-it-p 3280:80-p 3222:22 06fefa4a9183 \ Test GitHub, access Port 3280 look at the GitHub page, let you change the password, change it ...  then various operations.  Exit exits the container and GitHub is deleted. Official start: Docker run \ d \--hostname wqd.github \ Service Host name--name GitHub \ Container service name--restart always \ Set up start-P 3,380:80 \ Map Shoot HTTP port-P 3,322:22 \ Map ssh Port-P 3,443:443 \ Map HTTPS port (seems to be ha. )-v/srv/gitlab/config:/etc/gitlab \ Mapping GitHub's configuration directory-v/srv/gitlab/logs:/var/log/gitlab \ Mapping GitHub's log directory-v/srv/gitlab/  Data:/var/opt/gitlab \ Map GitHub's data directory 06fefa4a9183-------access the 3280d port.  Change the password to log in to the root new password and then enter, you are the administrator. Then there are all kinds of play. "Upload Project" when Eclipse uploaded the project, there was a minor change. That is, our host-name:wqd.github may not be recognized.  You just change your host's address + port (3380). Then a personal github is done. Start it, Junior.

Docker builds its own github

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.