Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Docker build private warehouse     - Python basis: os module on the file / directory using methods commonly used functions (Programming)

- VPS xen openvz kvm (Server)

- What is Unikernel? (Linux)

- CentOS Set the Mono environment variable (Server)

- Install Oracle 11g illustrations and dependent libraries under SUSE11 (Database)

- Install minimize RHEL / CentOS 7 things to do (Linux)

- Use backup-manager system backup on Linux (Linux)

- Oracle and MySQL difference between the jdbc (Database)

- Oracle rebuild index script (Database)

- Linux NFS service fixed ports and firewall configuration (Linux)

- Java abstract class instantiation (Programming)

- CentOS 6.6 permanent method to modify the DNS address (Linux)

- Installation and operation GAMIT software under Linux operating system (Linux)

- Eclipse installs support for Java 8 (Linux)

- CentOS network configuration 7, and set the host name and IP-bound problems (Linux)

- When Vim create Python scripts, vim autocomplete interpreter and encoding method (Programming)

- Windows 7 hard disk installation notes Debian (Linux)

- Linux command binlog by filtering out the complete SQL statement (Database)

- Python class of operator overloading (Programming)

- Arronax allows you to easily create desktop startup file (Linux)

  Docker build private warehouse
  Add Date : 2018-11-21      
  1.Docker pull registry # official website pull a repository mirror

2.docker run -d -p 5000: 5000 registry # port casually own definition, usually with 5000.

Mirroring By default, the warehouse will be stored in the container / tmp / registry directory, so if the container is removed, stored in a container will be lost, so under normal circumstances we will specify a local directory is mounted to the container under inside / tmp / registry, as follows:

docker run -d -p 5000: 5000 -v / opt / data / registry: / tmp / registry registry

In the browser and enter http: // IP: 5000 will return the correct information

3.docker pull Ubuntu: 12.04 to download a test image file

NOTE: You can modify this mirrors for their business needs to re-commit or write Dockfile

4. Rename

 docker tag ubuntu: 12.04

This step is very important and must contain ip: port is

5. Upload

 docker push

6. casually looking for a testing machine to pull this image

docekr pull

important hint:

Warehouse 1.3.X versions later default https upload, modify configuration files.

vim / etc / default / docker add red mark section, restart docker
- CentOS 7.0 local address and configure yum source address priority (Linux)
- Java open source monitoring platform Zorka basic use (Linux)
- Python KNN algorithm of actual realization (Programming)
- Three strategies to teach you to release the device memory (Linux)
- CentOS Set the Mono environment variable (Server)
- Search Linux commands and files - which, whereis, locate, find (Linux)
- Java factory pattern (Factory mode) (Programming)
- Installation Elementary OS Freya 20 things to do (Linux)
- How Datadog monitor Nginx (Server)
- What have we learn from the front-end application Nodejs (Programming)
- Ubuntu 14.04 + xRDP + Xfce implement Windows Remote Desktop Connection (Linux)
- Hadoop upload files error solved (Server)
- Oracle database file path changes (Database)
- Oracle 11g contraction table space error ORA-03297: file contains used data beyondrequested RESIZE value (Database)
- Erase do with HTML5 Canvas and diffusion effect (Programming)
- Prevent security threats caused Rootkit (Linux)
- Oracle Sql Loader tool has shown signs (Database)
- Testing Oracle 11g RMAN replicate database (Database)
- Install Unity 8 preview version of the desktop in Ubuntu (Linux)
- Oracle SDE and maintain common commands - Display space (Database)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.