docker:/root# Docker PS CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f3cb864be528 192.168.32.150:5000/zjzc_centos6.5_templat E "Bash" about a minute ago up about a minute zjzc_test99 d25712059 702 192.168.32.150:5000/zjzc_centos6.5_m2 "bash" 7 minutes ago up 7 minutes Sick_wright 8302f2eb1c9e 192.168.32.150:5000/zjzc_centos6.5_m1 "Bash" Minutes ago up mi
This article describes how to use Docker container technology to quickly build a private node Bitcoin test network (bitcoin-testnet), In conjunction with the node. JS programming Language example, it shows how to invoke the RPC Interface service provided by the Bitcoin wallet nodes to implement the specific application functions involving the Bitcoin blockchain. Install the base environment this article use
Recently in the study of Kubernetes,docker warehouse used more, every query has to curl good trouble, so just wrote this.#!/usr/bin/envpython#-*-coding:utf-8-*-"" "author= ' Perling ' time = ' 2016/11/10 ' "" "importurllib2importjsonregistry=" 172.31.14.229:5000 "registry_url= "http://%s"%registrydefhttp_get (URL): req=urllib2. Request (URL) req.add_header ("Content-type", "Application/json-rpc") resp=urllib2.urlopen (req) resp_json=json.loads (Resp
Environment Preparation:Docker version: 1.9.1Registry version: 2.2.1This article has also issued a self-built warehouse Nginx certification, but the new registry V2 version does not apply, extra weight more.First, create the relevant directory and documents(1) directory structureAuth│├──domain.crt│├──domain.key│├──nginx.conf│└──nginx.htpasswd├──dataMkdir-p authmkdir-p dataopenssl req-newkey rsa:4096-nodes-sha256-keyout auth/domain.key-x509-days 365-ou
This article plans to use 3 commands to run a Docker registry is actually very simple
Environment Preparation:
Docker 1.11.2
Compose file Docker-compose.yml
Version: ' 2 '
Services:
registry:
image:registry:2.5.1
hostname:registry
ports:
the certification token flowchart for Docker registry is as follows
Process Explanation:1. Try the push/pull operation.2. If authorization is required, it returns the 401 unauthorized HTTP response and provides information about how to authenticate.3. The client requests a bearer token from the authorization service.4. The authorized service returns authorized access to opaque Bearer token on behalf of the
exchanges and discussions.Company Background Introduction:Shanghai Yun Axis Information Technology Co., Ltd. (hereinafter referred to as Shanghai Yun Axis) was established in 2015. The company initiated and maintained the next generation of open source cloud computing engine Zstack (http://zstack.org), the company's team members are from Silicon Valley and domestic foreign core research and development personnel, in the cloud-related core areas of more than 10 years of technology accumulation.
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.