Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Docker issue x509: certificate has expired or is not yet valid

root@clusterserver3 ~]# docker pull centos Using default tag: latest Trying to pull repository docker.io/library/centos … Pulling repository docker.io/library/centos Error while pulling image: Get https://index.docker.io/v1/repositories/library/centos/images: x509: certificate has expired or is not yet valid [root@clusterserver3 ~]# update-ca-trust extract

Install docker ce on centos 7

Installing Docker On CentOS 7 / RHEL 7

Docker is a container virtualization technology that has gained widespread popularity in recent times; it offers a more efficient way to deploy the application. With Docker, the applications reside inside the container on top of the Linux operating system. Docker uses Kernel features such as cgroups and […]

docker commonly used command

docker commonly used command

1. View the docker information (version, info)

View the docker version docker version

Displays information about the docker system docker info

2. the operation of the image (search, pull, images, rmi, history)

Retrieve image docker search image_name

Download image docker pull image_name

List the mirror list; -a, –all […]

docker export mirroring and import mirroring

docker export mirroring and import mirroring

Export Mirror:

docker save IMAGENAME | bzip2 -9 -c>img.tar.bz2

Import Mirror (for one machine):

bzip2 -d -c

Kubernetes

What is Kubernetes? Kubernetes is a Google open source container cluster management system, based on Docker build containers, the use of Kubernetes can manage a number of Docker host in the container. The main functions are as follows: 1) abstracts multiple Docker hosts into one resource to manage containers in a clustered manner, including task […]

docker cmd

Basic Instructions

Download the image file

$ docker pull image_name

Activate or deactivate the container $ docker [start|stop] container_name

Download the image file

$ docker pull image_name

Activate or deactivate the container

$ docker [start|stop] container_name Build -> Start -> Execute command ( -ti parameter)

$ docker run -ti –name container_name image_name command Build -> […]

Kubernetes 1.4 Cluster SetupKubernetes 1.4 Cluster Setup

Kubernetes 1.4 Cluster SetupKubernetes 1.4 Cluster Setup

Distance kubernetes 1.4 has been released for some time, version 1.4 adds many new features, one of the more useful features is the addition to quickly create a cluster of basic needs only two commands will be able to build success; but due to reasons known to all […]

DOCKER Testing

Obtaining the Docker image

First, get the basic Docker image. The Docker image is published on the Docker Hub Registry (https://hub.docker.com/). You can search for published images with the docker search command. An example of searching the image of CentOS is here.

# docker search centos

INDEX       NAME                                      DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED docker.io   docker.io/centos                          The […]

Docker Centos 7

nginx?HTTPS

vim  /etc/default/docker

OPTIONS=”–insecure-registry 192.168.1.9:5000″

docker-images     10.0.0.5     docker 10.0.0.6     docker

[root@docker-images ~]# cat /etc/RedHat-release CentOS Linux release 7.2.1511 (Core) [root@docker-images ~]# uname -r 3.10.0-327.el7.x86_64 [root@docker-images ~]# uname -m x86_64 [root@docker-images ~]# uname -a Linux docker-images 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root@docker-images ~]#

1?selinux

[root@docker-images […]