os/README.md

75 lines
1.7 KiB
Markdown
Raw Normal View History

2024-04-13 20:05:47 +00:00
# <img src="./icon/ai.png" width="30"> ai `os`
2024-02-08 10:04:26 +00:00
2024-03-05 18:02:03 +00:00
`aios` is a simple linux distribution based on `archlinux`.
2024-02-08 10:04:45 +00:00
2024-03-05 18:02:03 +00:00
|rule|var|
|---|---|
|name|ai os|
|code|aios|
|id|ai|
|container|[git.syui.ai/ai/os](https://git.syui.ai/ai/-/packages/container/os/latest)|
|image|[aios-bootstrap.tar.gz](https://github.com/syui/aios/releases/download/latest/aios-bootstrap.tar.gz)|
2024-02-08 10:04:45 +00:00
```sh
2024-03-05 03:42:20 +00:00
$ docker run -it git.syui.ai/ai/os ai
2024-02-08 10:04:45 +00:00
```
2024-04-13 20:05:47 +00:00
## base
2024-03-05 18:02:03 +00:00
```sh
# https://gitlab.archlinux.org/archlinux
$ git clone https://gitlab.archlinux.org/archlinux/archiso
```
2024-04-13 20:05:47 +00:00
## docker
2024-02-08 10:04:45 +00:00
```sh
2024-03-05 18:02:03 +00:00
# https://git.syui.ai/ai/-/packages/container/os
$ docker run -it git.syui.ai/ai/os ai
2024-03-05 03:42:20 +00:00
# https://hub.docker.com/r/syui/aios
$ docekr run -it syui/aios ai
2024-02-08 10:04:45 +00:00
2024-03-05 03:42:20 +00:00
# https://github.com/users/syui/packages/container/package/aios
2024-02-12 01:18:52 +00:00
$ docker run -it ghcr.io/syui/aios ai
2024-02-08 10:04:45 +00:00
```
2024-04-13 20:05:47 +00:00
## token
|env|body|
|---|---|
|${{ github.repository }}|syui/aios|
|${{ secrets.DOCKER_USERNAME }}|syui|
|${{ secrets.DOCKER_TOKEN }}|[token](https://matsuand.github.io/docs.docker.jp.onthefly/docker-hub/access-tokens/)|
|${{ secrets.APP_TOKEN }}|[token](https://docs.github.com/ja/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens), pacakge|
## podman
```sh
$ podman pull aios
```
https://github.com/containers/shortnames
> /etc/containers/registries.conf.d/ai.conf
```sh
unqualified-search-registries = ['docker.io', 'git.syui.ai', 'ghcr.io']
[aliases]
"aios" = "git.syui.ai/ai/os"
```
```sh
$ podman pull aios
Resolved "aios" as an alias (/etc/containers/registries.conf.d/ai.conf)
Trying to pull git.syui.ai/ai/os:latest...
Getting image source signatures
Copying blob c7e55fecf0be [====================>-----------------] 917.4MiB / 1.7GiB
```
## link
2024-02-08 10:04:26 +00:00
2024-02-12 01:18:52 +00:00
- https://git.syui.ai/ai/os
- https://github.com/syui/aios