当前位置:网站首页>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
边栏推荐
- Hands on deep learning (37) -- cyclic neural network
- Log cannot be recorded after log4net is deployed to the server
- 【Day2】 convolutional-neural-networks
- Servlet基本原理与常见API方法的应用
- Kotlin:集合使用
- Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)
- Golang 类型比较
- Go context basic introduction
- C # use gdi+ to add text to the picture and make the text adaptive to the rectangular area
- 品牌连锁店5G/4G无线组网方案
猜你喜欢
Pcl:: fromrosmsg alarm failed to find match for field 'intensity'
转载:等比数列的求和公式,及其推导过程
Hands on deep learning (34) -- sequence model
Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1
2. Data type
C语言指针经典面试题——第一弹
Advanced technology management - how to design and follow up the performance of students at different levels
Regular expression (I)
品牌连锁店5G/4G无线组网方案
ASP. Net to access directory files outside the project website
随机推荐
六月份阶段性大总结之Doris/Clickhouse/Hudi一网打尽
Exercise 9-1 time conversion (15 points)
leetcode1-3
Baidu R & D suffered Waterloo on three sides: I was stunned by the interviewer's set of combination punches on the spot
Laravel文档阅读笔记-How to use @auth and @guest directives in Laravel
PHP personal album management system source code, realizes album classification and album grouping, as well as album image management. The database adopts Mysql to realize the login and registration f
智能网关助力提高工业数据采集和利用
Dynamic address book
智慧路灯杆水库区安全监测应用
Mmclassification annotation file generation
品牌连锁店5G/4G无线组网方案
leetcode1-3
libmysqlclient. so. 20: cannot open shared object file: No such file or directory
Deep learning 500 questions
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
2. Data type
法向量点云旋转
查看CSDN个人资源下载明细
Uniapp--- initial use of websocket (long link implementation)
Check 15 developer tools of Alibaba