mirror.3. Re-mark a local image as a private repository version, where the local Ubuntu 12.04 is marked as localhost:5000/ubuntu:1204.Docker tag ubuntu:12.04 localhost:5000/ubuntu:1204Look at the mirror again to see one more image labeled localhost:5000/ubuntu:12044. Push the local image to the local repositoryDocker Push localhost:5000/ubuntu:12045. View a list
When using Maven, Maven downloads the jar package that the project depends on by default in the central repository, to the local disk directory (if not configured, it is under the user directory /. m2/repository folder ). If a Maven private server is built in the company, the developer directs the repository address to
Thinking66 released March 1
Build Branch 0 Branches
Collection 0 Collection
When we develop locally, if the intranet can deploy a Docker server, it will be greatly convenient to share the image of the release, some private images can be placed directly on the intranet server, eliminating unnecessary network download.This course needs to be equipped with two virtual machines, one as a
Document directory
Fork, code, pull
Secure Code hosting
Work as a team
Collaborate and get Social
Integrate
Https://bitbucket.org/
Supports git or
Mercurial is very powerful and similar, but most importantly, it supports free git private repository. It also supports social networking.
Unlimited disk space unlimited disk capacityHowever, you may not need to be too happy. Bitbucket has some restrictio
dao pull httpd
4.2 Label Hello-world as a mirror
1
docker tag httpd localhost:5000/httpd
The above IP to replace the real virtual machine IP, after execution, the native image file should be able to see this images, see:Note: The original image httpd with the image after the tag has the same image ID, indicating that the two images are the same, but the tag is different.4.3 Uploading to a
Guide
Git version control system requires a server side, and on GitHub to create a private git server-side warehouse that touches the charges, so here we use Dropbox free space to take a look at the tutorial to build a private git repository on Dropbox.
One, create a remote repository folder (. git suff
different.4.3 uploading to a private warehouseDocker Push 192.168.99.100:5000/hello-worldIf it goes well, you should be able to upload it soon:? ~ Docker Push 192.168.99.100:5000/hello-worldthe push refers to a repository [192.168.99.100:5000/hello-world] (len : 1) Sending image listpushing repository 192.168.99.100
Create BitBucket's private maven repository and upload aar to BitBucket's maven repositoryReprint please mark the original address: http://blog.csdn.net/lsyz0021/article/details/52065404When we use the development of Android studio, we can use the compile "" command very conveniently to use someone else's third-party AAR libraryFor example, when we quote okhttp, we can do it in Gradle:dependencies { comp
1, actual combat purposes
build an enterprise-private mirrored warehouse that meets push and pull mirroring from the development environment . When we use k8s to orchestrate and dispatch containers, the basic unit of the operation is mirroring, so we need to pull the mirror from the repository to the current working node. The use of a public Docker hub i
It is important to note that the image files downloaded from the Docker pool are identical to the official image files.After installing Docker, you can use the official registry image to build a set of local private warehouse environments:
Docker run –d –p : Registry
After the input can wait, in
1, after the installation of Docker, you can easily set up a private warehouse through registry image.
[root@ip-10-249-100-205 ~]# Docker run-d-P 5000:5000 Registry
Automatically launches a registry container after the download completes, creating a local private warehouse service.
By default, the warehouse is created
upper-class business, it does not need to care whether it is running in a container or a KVM virtual machine. The future of the idea is the application of micro-service, the top of the business to split, into a micro-service, thus docking PAAs based on container deployment and grayscale release.
Technical framework
Before I introduce the preparation of the Double 11, let me briefly introduce the technical architecture of the private cloud on Mushro
CREATED VIRTUAL SIZE
Registry 2 06552075e36c 6 days ago 171.2 MB
hello-world latest 4c4abd6d4278 2 weeks ago 967 b
127.0.0.1:5000/hello-world latest 4c4abd6d4278 2 weeks ago 967 B
Push Mirroring to private warehouse
>>> Docker push 127.0.0.1:5000/hello-world The
push refers to a
The test environment is as follows:First, the installation of DockerInstallation method Please check the installation tutorial hereSecond, set up ordinary users 1. How to set up CentOS$ sudo gpasswd-a Docker ${user} 2. How to set up Ubuntu$ sudo usermod-ag Docker ${user}Third, the private library image download 1. Create a directory
Docker Registry Private Warehouse Build
The authorities have already provided many versions of the Linux image, which can be downloaded directly from the official warehouse (public repositories). If security and speed are considered, we may want to set up a private warehouse in our local area network (private reposito
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.