Tag : Docker

date: 2018-8-01 14:22:17Title: swoft| Source Code Interpretation Series 1: How Difficult! Swoft demo can’t run. how can it be broken? Docker, get to know it ~Description: read sowft framework source code, swoft first step, fix the environment. The little buddy will feel when he first touches swoft.The pressure is a little high., a more intuitive ..

Read more

Deploying Golang Applications to Docker Project address:https://github.com/EDDYCJY/go …(Get on the bus and support the wave)Original address:https://segmentfault.com/a/11 … Note: You need to install it before you start.docker, with a good mirror source This chapter source code inf-20180324-dockerOn the branch Starting from this chapter, the project catalog is based ongo-gin-exampleAs a benchmark (please be flexible with your ..

Read more

Golang cross compilation Project address:https://github.com/EDDYCJY/go …(Get on the bus and support the wave) Original address:https://segmentfault.com/a/11 … Preface InSerial 9explainBuild Scratch MirrorWhen compiling the executable file, we used another form of command. do you have any questions? $ CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o go-gin-example . explain We will explain the function of each ..

Read more

Background of Container Cloud With the popularization of micro-service architecture and the combination of open source micro-service frameworks such as Dubbo and Spring Cloud, many business lines within Yixin have gradually shifted from the original single architecture to micro-service architecture. Applications change from stateful to stateless, specifically storing business state data such as session and ..

Read more

Install doc apt-get install curl curl -sSL https://get.docker.com/ | sh Pull a mirror image of ubuntu sudo docker pull ubuntu:14.04 Start and run the mirror sudo docker run -it –name usshd ubuntu:14.04 /bin/bash Install sshd sudo apt-get update && apt-get install -y openssh-server sudo mkdir -p /var/run/sshd sudo echo ‘root:root’ | chpasswd#修改root登录密码 sudo sed -i ..

Read more

pull sudo docker pull ubuntu:14.04 Or .. sudo docker pull dl.dockerpool.com:5000/ubuntu examine View mirror sudo docker images View native container sudo docker ps -a Start up sudo docker start nickname run Create and run containers sudo docker run -ti ubuntu:14.04 /bin/bash sudo docker run -d -p 8080:80 –name nickname -v /webapp training/webapp ubuntu:14.04 Here -d ..

Read more

Docker build series Building zk Cluster in docker Environment Docker Builds redis Cluster Docker environment builds elasticsearch Docker Builds rabbitmq Cluster Docker Environment Builds ELK Order This article focuses on how to use docker to build elasticsearch. Download image Use herehangxin1940The mirror image is only version 1.4.2 of es. docker pull hangxin1940/docker-elasticsearch-cn:v1.6.0 Start container docker ..

Read more