当前位置:网站首页>Container cloud notes
Container cloud notes
2022-07-04 10:10:00 【Stestack】
1-docker The container of
# Clean up the image
docker rmi
# Check the system disk size
docker system df
# Mirror construction
docker build ./ Package into a new image
The main process includes
Development – Cloud primary combination
To write dockerfile–
Create a custom image dockers build–
Run multiple docker when docker-compose //yaml grammar
– start-up docker application docker run // The startup parameters are specified
-p Host port : Container port
– test – Deploy or continue development
Development
1-asp,.net Program
2-java application
3-go Language application push message
4-python
5-nodejs
#dockerfile
FROM Pull the mirror image // base image , Multiple from Represents a multistage build
RUN Commands to be installed in the new image //sh
COPY Copy the file directory to the container's file system //cp Copy
ADD Local file replication and remote file replication //cp Enhanced Edition , Remote Replication scp
WORKDIR /app Go to a directory //cd
CMD Run the default command // Execute configuration command
entrypoint Execute instructions after the configuration container starts , Don't be docker run Provided parameter coverage // Execute after the container is started
env environment variable , has key value The form // environment variable
expose Used to specify the port // You need to open the specified port
#docker-compose Deploy composite command
yaml File defines multiple container images
YAML Is a concise non markup language ,yaml Data centric .
Detect the syntax of validation :http://nodeca.github.io/js-yaml/
Cloud native
1- technology : Microservices – Agile infrastructure Containers -cicd Release
边栏推荐
- 直方图均衡化
- Vanishing numbers
- 华为联机对战如何提升玩家匹配成功几率
- 【Day2】 convolutional-neural-networks
- What are the advantages of automation?
- System. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
- Dynamic address book
- Hands on deep learning (41) -- Deep recurrent neural network (deep RNN)
- xxl-job惊艳的设计,怎能叫人不爱
- Exercise 7-3 store the numbers in the array in reverse order (20 points)
猜你喜欢

MySQL develops small mall management system

【Day2】 convolutional-neural-networks

Svg image quoted from CodeChina

转载:等比数列的求和公式,及其推导过程

el-table单选并隐藏全选框

Machine learning -- neural network (IV): BP neural network

Pcl:: fromrosmsg alarm failed to find match for field 'intensity'

Devop basic command

Hands on deep learning (32) -- fully connected convolutional neural network FCN

基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
随机推荐
Baidu R & D suffered Waterloo on three sides: I was stunned by the interviewer's set of combination punches on the spot
Check 15 developer tools of Alibaba
Hands on deep learning (37) -- cyclic neural network
直方图均衡化
C # use gdi+ to add text to the picture and make the text adaptive to the rectangular area
Log cannot be recorded after log4net is deployed to the server
Doris / Clickhouse / Hudi, a phased summary in June
Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)
leetcode1-3
What are the advantages of automation?
Does any teacher know how to inherit richsourcefunction custom reading Mysql to do increment?
Golang Modules
自动化的优点有哪些?
法向量点云旋转
PHP student achievement management system, the database uses mysql, including source code and database SQL files, with the login management function of students and teachers
今日睡眠质量记录78分
El Table Radio select and hide the select all box
Summary of reasons for web side automation test failure
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
[200 opencv routines] 218 Multi line italic text watermark