docker_practice/coreos/install.md

53 lines
1.0 KiB
Go
Raw Normal View History

# Fedora CoreOS
## ISO
[](https://getfedora.org/coreos/download/) `Bare Metal & Virtualized` 标签页下载 ISO。
## FCC
FCC Fedora CoreOS Configuration Fedora CoreOS
```yaml
# example.fcc
variant: fcos
version: 1.0.0
passwd:
users:
- name: core
ssh_authorized_keys:
- ssh-rsa AAAA...
```
`ssh-rsa AAAA...` SSH `~/.ssh/id_rsa.pub`
## FCC Ignition
```bash
$ docker run -i --rm quay.io/coreos/fcct:v0.5.0 --pretty --strict < example.fcc > example.ign
```
## ISO
> 3GB
```bash
$ sudo coreos-installer install /dev/sda --ignition-file example.ign
```
使
## 使
```bash
$ ssh core@IP
$ docker --version
```
##
* [](https://docs.fedoraproject.org/en-US/fedora-coreos/bare-metal/)