docker runs python web Services

Create the simplest python+django project and run it in the docker container. Environmental Science: In 192.168.174.134 server docker image: python:2 (python2.7.15) django: 1.8.31. Create python project in 134 server django-admin startproject ops python manage.py migrate Create a root user python manage.py createsuperuser root@u ...

Posted by jeffery on Sat, 14 Dec 2019 09:03:10 -0800

volumes persistent storage of k8s

Data persistence of k8s kubernetes storage volume:We know that by default, the container's data is non persistent, and the data is lost after the container is destroyed, so docker provides a volume mechanism to store the data persistently. Similarly, k8s provides a more powerful volume mechanism and rich plug-ins to solve the problem of contai ...

Posted by bobvaz on Sat, 14 Dec 2019 08:44:59 -0800

Blockchain tutorial Fabric1.0 source code analysis chain code language platform

Chain code and platform of Fabric 1.0 source code Notes 1. Overview of platforms The platforms code is centralized in the core/chaincode/platforms directory. core/chaincode/platforms directory, the programming language platform implementation of chain code, such as golang or java. Platform.go, platform interface definition, and platform related ...

Posted by vaaaska on Thu, 12 Dec 2019 09:20:28 -0800

Install the specified version of docker service

Reference blog: Docker CE image source Reference blog: docker start exception driver not supported     1. description Before you deploy docker service, you install the latest version of docker and use docker swarm to deploy big data components. However, in a recent deployment, docker 18.06.1 was found. When using docker swarm to deploy big data ...

Posted by Traduim on Wed, 11 Dec 2019 09:32:37 -0800

Using docker to install Hadoop and Spark

Using docker configuration to install hadoop and spark Install hadoop and spark images respectively Install hadoop image docker selected Mirror Address , the version of hadoop provided by this image is relatively new, and jdk8 is installed, which can support the installation of the latest version of spark. docker pull uhopp ...

Posted by shantred on Tue, 10 Dec 2019 22:46:53 -0800

Common operations of docker swarm

1. description This document is for docker swarm operations. The system for is a local test system. The machine information is as follows, 172.16.1.13 is the manager of docker swarm.   Machine list information for local test: host name Simulated extranet Intranet IP To deploy a module mini01 10.0.0.11 172.16.1.11 tomcat [swar ...

Posted by ryanschefke on Tue, 10 Dec 2019 11:09:12 -0800

Personal learning series - springboot simple integration ActiveMQ

Message queuing hasn't been used recently, but I can't help but study it. springboot integrates ActiveMQ 1. docker deployment ActiveMQ 1.1 search ActiveMQ docker search activemq 1.2 download the image of ActiveMQ docker pull webcenter/activemq 1.3 starting the image of ActiveMQ docker run -it -d \ # Background operation -p 61616:61616 \ # tcp ...

Posted by dheeraj4uuu on Mon, 09 Dec 2019 20:34:22 -0800

docker practice ks8 installation and deployment

Deployment architecture: I. installing docker Only docker18.06 is supported at this time 1.1. Add source: # yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 1.2. View package: # yum list docker-ce.x86_64 --showduplicates | sort -r 1.3. Install docker # yum -y install docker-ce-18.06.0.ce-3.el7 Th ...

Posted by jds580s on Mon, 09 Dec 2019 07:48:49 -0800

Build the host Nginx + Docker WordPress Mysql

Environmental Science Linux 3.10.0-693.el7.x86_64 Docker version 18.09.0 docker-compose version 1.17.0 install Required dependencies for installing docker $ sudo yum install -y yum-utils device-mapper-persistent-data lvm2 Install docker CE $ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo $ s ...

Posted by thenewguy on Mon, 09 Dec 2019 06:21:46 -0800

docker builds elk environment

Official reference: https://www.elastic.co/guide/en/elastic-stack/current/installing-elastic-stack.html https://www.elastic.co/guide/index.html https://www.elastic.co/learn docker installation es docker pull docker.elastic.co/elasticsearch/elasticsearch:6.4.3 Development mode start docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single ...

Posted by paulareno on Mon, 09 Dec 2019 05:08:40 -0800