当前位置:网站首页>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
边栏推荐
- Get the source code in the mask with the help of shims
- Golang 类型比较
- C language pointer interview question - the second bullet
- 7-17 crawling worms (15 points)
- Write a jison parser from scratch (6/10): parse, not define syntax
- Hands on deep learning (35) -- text preprocessing (NLP)
- Go context 基本介绍
- Write a jison parser from scratch (4/10): detailed explanation of the syntax format of the jison parser generator
- 什么是 DevSecOps?2022 年的定义、流程、框架和最佳实践
- libmysqlclient. so. 20: cannot open shared object file: No such file or directory
猜你喜欢
[200 opencv routines] 218 Multi line italic text watermark
Hands on deep learning (39) -- gating cycle unit Gru
Summary of small program performance optimization practice
Doris / Clickhouse / Hudi, a phased summary in June
Hands on deep learning (32) -- fully connected convolutional neural network FCN
Regular expression (I)
C # use ffmpeg for audio transcoding
SQL replying to comments
How can Huawei online match improve the success rate of player matching
How can people not love the amazing design of XXL job
随机推荐
How do microservices aggregate API documents? This wave of show~
有老师知道 继承RichSourceFunction自定义读mysql怎么做增量吗?
Qtreeview+ custom model implementation example
Press the button wizard to learn how to fight monsters - identify the map, run the map, enter the gang and identify NPC
How can Huawei online match improve the success rate of player matching
Pcl:: fromrosmsg alarm failed to find match for field 'intensity'
uniapp---初步使用websocket(长链接实现)
2021-08-10 character pointer
Reasons and solutions for the 8-hour difference in mongodb data date display
Hands on deep learning (33) -- style transfer
`Example of mask ` tool use
品牌连锁店5G/4G无线组网方案
Servlet基本原理与常见API方法的应用
QTreeView+自定义Model实现示例
View CSDN personal resource download details
ASP. Net to access directory files outside the project website
If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
On Multus CNI
浅谈Multus CNI
转载:等比数列的求和公式,及其推导过程