Author
Zqh
Date
2016-5-11
Introduction
The Docker warehouse actually provides two functions, one is image management and the other is authentication. The former is mainly implemented by the Docker-registry project, which uploads the download via the HTTP service, which can be managed by the Dock
commands as an example to illustrate the Docker run process
3 Docker General architecture diagramLearning about Docker's source code is not a boring process, but it can be used to understand the design principles of Docker architecture. Docker is a C/s schema for users
Install the Harbor1.4.0 open-source docker image repository (including the letsencrypt certificate) and dockerletsencryptDocument version 20180216Harbor has been successfully installed on Ubuntu Linux 14.04 and CentOS Linux 7.4. The process is organized as follows for your reference:
Note: Use a non-root user to operate Docke
Deploy an open source project Cloud collection in just three steps to create your own personal collection system, which is simple!The Cloud Collection project has been open source for more than 2 years, as the initial learning Spring Boot practiced hand project, using a lot of very new technology, now it seems that man
[Open Source summer camp] [4] Docker remote API image, dockerremoteList Images
List images. There are two optional parameters: all, filter, and all. The optional values are 0, False, false, and 1, True, and true. The default value is 0; filter is a json file containing a filter object, in the form of '{"dangling": ["true"]}'
GET /images/json
We can try to requ
Solo 1.3.0 officially released, thanks has always been concerned about B3log open source friends!You can start with a single command (no need to install a database, deploy a container), or you can deploy a container in war mode to connect to MySQL. This should be the most easy to run up the blog system, welcome to download the experience, also welcome to Star/fork!In 1.3.0, we formally supported
This is a creation in
Article, where the information may have evolved or changed.
1,harbor
The development and operation of container applications requires reliable image management. In terms of security and efficiency, it is necessary to deploy registry within a private environment. Project Harbor is a registry server open
Build a private Docker Registry on CentOS 6 v2RegistryConceptReGistry is a stateless, highly extensible server-side application for storing and distributing Docker Image.Dependent installation1.InstallationDockerTo use Docker Registry, of course, first install
docker installed:Server machine (with the registry host name): A private docker repository server that runs the registry container;Test-side machine (host name: node): A common docker server. Download a test image busybox from this server and upload it to the
Daemon IntroductionDocker Daemon is a daemon that runs in the background in the Docker architecture and can be broadly divided into Docker Server, engine, and job. Docker daemon can be thought of as accepting requests for Docker clients through the Docker server module, pro
that contains the user name and user passwordOpen registry.conf file againvi /docker-registry/nginx/registry.confRemove the comments from the next few linesauth_basic "registry.localhost";auth_basic_user_file /etc/nginx/conf.d/registry.password;add_header ‘Docker-Distribution-Api-Version‘ ‘registry/2.0‘ always;Re-Te
/(tag*)
To delete a label:
Delete/v1/repositories/(namespace)/(repository)/tags/(tag*)
Registry status Check:
Get/v1/_ping
Docker Hub API
The Docker Hub API is a REST API designed for Docker hub. The Docker Hub (i.e. Index) uses a checksum public namespaces to store a
We know we can use hub.docker.com as our public or private registry. However, due to the server in foreign countries, the network speed will be very slow.
So when we build our container service with Docker, we want to be able to build our own private registry, upload mirrored values to our private registry center, and
IMAGE ID CREATED VIRTUAL SIZEUbuntu 14.04 78c113d93188 seconds ago 197.6 MBUbuntu latest 78c113d93188 seconds ago 197.6 MBUbuntu trusty 78c113d93188 seconds ago 197.6 MB2, download Docker-registry$git clone https://github.com/docker/docker-registry3, patching$ CD ~/docker-
Why is it necessary to build a private registry? Well, for starters, the Docker Hub (a docker public warehouse) only allows you to have a free private version of the library (repo). Other companies are starting to offer similar services, but the price is not cheap. In addition, if you need to deploy an application for a production environment with
version on CentOS 7, please refer to this blog post: "Centos7 installation Docker-ce new Edition".1. After installing the DOCKER-CE version as described above, modify the configuration file:vim /lib/systemd/system/docker.service 添加: ExecStart=/usr/bin/dockerd --insecure-registry 192.168.188.112:5000The Docker daem
: 1) Install the Ca-certificates package
sudo yum install ca-certificates2) enable dynamic CA configuration feature
sudo update-ca-trust force-enable3) Copy key to/etc/pki/ca-trust/source/anchors/
sudo cp devdockerca.crt/etc/pki/ca-trust/source/anchors/4) Make the new copy of the certificate effective
sudo update-ca-trust extractAfter you copy the certificate, you need to restart
verification:The configuration is useful and needs to be verified by appropriate means.(1), Connectivity verification:# curl-i-k-v Https://admin:[email protected]/v2/(2), authentication (preferably login to another server).# Docker Login Registry.chanjet.com # will prompt you to enter your username, password, mailbox, and so on. Once the validation is passed, you can push things up.If you do not have this step, you will find a hint of validation fail
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.