当前位置:网站首页>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
边栏推荐
- JDBC and MySQL database
- Sort out the power node, Mr. Wang he's SSM integration steps
- Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 2
- How can people not love the amazing design of XXL job
- Exercise 9-5 address book sorting (20 points)
- 直方图均衡化
- 使用 C# 提取 PDF 文件中的所有文字(支持 .NET Core)
- Go context 基本介绍
- Hands on deep learning (38) -- realize RNN from scratch
- 智能网关助力提高工业数据采集和利用
猜你喜欢
IIS configure FTP website
Kubernetes CNI 插件之Fabric
直方图均衡化
PHP is used to add, modify and delete movie information, which is divided into foreground management and background management. Foreground users can browse information and post messages, and backgroun
Some summaries of the third anniversary of joining Ping An in China
技术管理进阶——如何设计并跟进不同层级同学的绩效
Intelligent gateway helps improve industrial data acquisition and utilization
[FAQ] summary of common causes and solutions of Huawei account service error 907135701
Hands on deep learning (41) -- Deep recurrent neural network (deep RNN)
Hands on deep learning (33) -- style transfer
随机推荐
Deep learning 500 questions
Press the button wizard to learn how to fight monsters - identify the map, run the map, enter the gang and identify NPC
Some summaries of the third anniversary of joining Ping An in China
转载:等比数列的求和公式,及其推导过程
Modules golang
el-table单选并隐藏全选框
C语言指针面试题——第二弹
How do microservices aggregate API documents? This wave of show~
Batch distribution of SSH keys and batch execution of ansible
对于程序员来说,伤害力度最大的话。。。
Work order management system OTRs
SQL replying to comments
2. Data type
AUTOSAR from getting started to mastering 100 lectures (106) - SOA in domain controllers
Dynamic memory management
Fabric of kubernetes CNI plug-in
查看CSDN个人资源下载明细
ASP. Net to access directory files outside the project website
Kubernetes CNI 插件之Fabric
Golang Modules