Image configuration
Based on data provided in the service configuration YAML file, Aos Cloud generates the OCI Image Configuration.
Example
{
"architecture": "amd64",
"os": "Linux",
"config": {
"ExposedPorts": {
"8080/tcp": {}
},
"Env": [
"Aos_ENV=SOME_SECRET"
],
"Cmd": [
"python3",
"-u",
"/home/hello_world.py"
],
"WorkingDir": "/home",
}
}
AosEdge deviation from OCI
- User — will be ignored.
- Entrypoint — will be ignored.
- Volumes — will be ignored.
- StopSignal — currently is not supported.
- rootfs — is not required and is ignored.