Every time a team builds an application, it is troublesome and error-prone to export the war package through eclipse/sts, then upload it to the server, copy it to Tomcat, and manually stop/start the Tomcat service.
I used Gitlab, MAVEN, Docker tools, plus a shell script, to make a simple automated build tool.
1. First install JDK version 64, MAVEN, modify/etc/profile file as follows:
java_home=/home/git/jdk
Deploying Hadoop distributed clusters using DockerLooking for a long time on the internet did not find the use of Docker to build a Hadoop distributed cluster of documents, no way, can only write one.One: Environment preparation:1: First, you have a CENTOS7 operating system that can be installed in the virtual machine.2: The version of Docker,
In the previous section, a cross-host Docker container cluster was built by using the overlay network. Below, in this cross-host Docker container cluster environment, build MySQL database cluster.MySQL master-slave automatic backup and automatic switchingFrom data security considerations, it is important to back up database data in a timely manner. MySQL provides
In the previous chapter "Docker Kafka study, one of the trilogy: the Speed of experience Kafka" we quickly experienced the Kafka message distribution and subscription functions, but the impression of the environment is only the implementation of a few commands and scripts, this chapter we learn how to write these scripts in combat, Build local Kafka environment;
This practice will make
Tags: note encountered technical SBO file directory is the lazy perm SQThis blog post is relatively simple, because it is the first time to use the master-slave copy of Docker,mysql in the CentOS environment, but also forget about the same, so this attempt to build in Docker.According to the online tutorial walk or step on some pits, but fortunately finally build
build docker-registry on Mac server
2014-03-14 0 Comments Source: Build Docker-registry collection on Mac server
I want to contribute
.
This article describes how to build Docker's registry under Mac, we download
Open the package is used, do not look at the code.
If you are in a hurry to use a mirror that I built directly, start by Configuring the mirror source to see about Sdkman
sdkman! is the tool for managing parallel versions of multiple software development kits on most UNIX based systems,The official website is
http://sdkman.io/
Sdkman installation is simple.
$ curl-s "Https://get.sdkman.io" | Bash
However, when the network is limited, it is not suitable for automatic installation, at this time
Reference Link: https://github.com/ethereum/go-ethereum/wiki/Running-in-Docker
Reproduced in the original: http://dockone.io/article/1931
The etheric square Go (language) team builds a Docker mirror of a "geth" node as part of its ongoing build chain. We can use these mirrors to quickly run the etheric square node in our local environment. In this article we will
Golang Docker imageFirst, if we write the file directly inside the Docker container, the data cannot be persisted. Even if you can use the Docker CP command to copy our files to the inside of the container, or to copy the files from the container, there are still a lot of inconvenient places in the operation.Furthermore, the third-party package that the program
and deleting a running container, restart it in the same way that the volume binds the host profileDocker Stop Squiddocker RM squiddocker run--name squid-d--restart=always--publish 3128:3128--volume/srv/docker/s QUID/CACHE:/VAR/SPOOL/SQUID3--VOLUME/HOME/EC2-USER/SQUID/SQUID3:/ETC/SQUID3 Sameersbn/squid:latestSix, now a private HTTP proxy server has been set up, modify the browser's access settings can be used directly.Export FTP_PROXY=HTTP://{EC2 Clo
The last one said to install the Docker and Docker-compose, now start downloading the source code and joining the channel
Download and install the Curl tool
1, create Fabric Engineering and project directory.
Mkdir-p workCD work Then, execute the following code:
Curl-l https://raw.githubusercontent.com/voodoo12345/polaris/master/fabpre.tar.gz-o fabpre.tar.gz 2>/dev/null; TAR-XVF fabpre.tar.gz
After this
The Docker build command is used to create a mirror using Dockerfile.GrammarDocker build [OPTIONS] PATH | URL | -Options Description:
--build-arg=[]: Sets the variable when the image is created;
--cpu-shares: set CPU usage weight;
--cpu-period: limit the CPU CFS cycle;
--cpu-quota: limit CPU CFS quotas;
--c
Foreword because most of the image download websites are abroad, Chinese users often encounter slow download speeds when downloading images; in addition, when Docker is applied to the production environment, it also faces the security issue of the downloaded Docker image. Because some private data is built in the production environment
Preface
Because most of the image download websites are abroad, Chinese
Tags: rs.remove technology ima rem mirroring arp option link file1. Build the MySQL container and add the database userRefer to Docker creation to run multiple MySQL containers, address http://www.cnblogs.com/heyangyi/p/9288402.htmlAdd user database, add tbusers table2. Create an ASP. NET Core WEBAPI ApplicationRefer to Docker to generate
I. OS:
[Root@linuxea lnmp]# Cat/etc/redhat-releaseCentOS Linux release 7.2.1511 (Core)Mariadb-10.0.27-linuxNginx1.10:1php5.6.26II. Notice
Separating LNMP on Docker single machineThe/mydata/data Data directory has been placed on the host before Dockerfile, mounted/mydata/data to the container when run MySQL, and other log files and configuration files, which need to be specified in the configuration file DataDir directory
Iii. MySQL Dockerfile
[Roo
teach you step-by-step to build a Docker-based MongoDB replication cluster environment
1. Installing Docker
2. Create a MongoDB image
3. Building a MongoDB cluster
This article ——-chain--Connecthttp://blog.csdn.net/pddddd/article/details/46893593
Docker is an open-source application container engine that allows dev
#docker build Image (Dockerfile)
CentOS 7.4.1078 Image Maker
Nginx image creation (based on front centos7 image)
nginx+php Image Production
For more walkthrough, see the Readme file in GitMy git site https://gitee.com/almi/docker# # # clone files to this directory git clone https://Gitee.com/almi/docker.git# # #
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.