Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
unsignedcpp
docker_practice
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
docker_practice
/
coreos
/
intro.md
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
28 lines (15 loc) · 2.38 KB
master
Breadcrumbs
docker_practice
/
coreos
/
intro.md
Copy path
Top
File metadata and controls
Code
Blame
28 lines (15 loc) · 2.38 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
Fedora
CoreOS
介绍
[
Fedora
CoreOS
](
https
:
//getfedora.org/coreos/) 是一个自动更新的,最小的,整体的,以容器为中心的操作系统,不仅适用于集群,而且可独立运行,并针对运行 Kubernetes 进行了优化。它旨在结合 CoreOS Container Linux 和 Fedora Atomic Host 的优点,将 Container Linux 中的 [Ignition](https://github.com/coreos/ignition) 与 [rpm-ostree](https://github.com/coreos/rpm-ostree) 和 Project Atomic 中的 SELinux 强化等技术相集成。其目标是提供最佳的容器主机,以安全,大规模地运行容器化的工作负载。
##
FCOS
特性
###
一个最小化操作系统
FCOS
被设计成一个基于容器的最小化的现代操作系统
。
它比现有的
Linux
安装平均节省
40
%
的
RAM
(
大约
114
M
)
并允许从
PXE
或
iPXE
非常快速的启动
。
###
系统初始化
Ignition
是一种配置实用程序
,
可读取配置文件
(
JSON
格式
)
并根据该配置配置
FCOS
系统
。
可配置的组件包括存储
,
文件系统
,
systemd
和用户
。
Ignition
在系统首次启动期间
(
在
initramfs
中
)
仅运行一次
。
由于
Ignition
在启动过程中的早期运行
,
因此它可以在用户空间开始启动之前重新对磁盘分区
,
格式化文件系统
,
创建用户并写入文件
。
当
systemd
启动时
,
systemd
服务已被写入磁盘
,
从而加快了启动时间
。
###
自动更新
FCOS
使用
rpm
-
ostree
系统进行事务性升级
。
无需像
yum
升级那样升级单个软件包
,
而是
rpm
-
ostree
将
OS
升级作为一个原子单元进行
。
新的
OS
部署在升级期间进行
,
并在下次重新引导时生效
。
如果升级出现问题
,
则一次回滚和重新启动会使系统返回到先前的状态
。
确保了系统升级对群集容量的影响降到最小
。
###
容器工具
对于诸如构建
,
复制和其他管理容器的任务
,
FCOS
用一组容器工具代替了
*
*
Docker
CLI
*
*
。
*
*
podman
CLI
*
*
工具支持许多容器运行时功能
,
例如运行
,
启动
,
停止
,
列出和删除容器和镜像
。
*
*
skopeo
CLI
*
*
工具可以复制
,
认证和签名镜像
。
您还可以使用
*
*
crictl
CLI
*
*
工具来处理
CRI
-
O
容器引擎中的容器和镜像
。
##
参考文档
*
[
官方文档
](
https
:
//docs.fedoraproject.org/en-US/fedora-coreos/)
*
[
openshift
官方文档
](
https
:
//docs.openshift.com/container-platform/4.3/architecture/architecture-rhcos.html)
You can’t perform that action at this time.