rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.44k stars 657 forks source link

`ros service enable`/`ros service up` doesn't persist across reboots #2981

Open srcshelton opened 4 years ago

srcshelton commented 4 years ago

RancherOS Version: 1.5.5

Where are you running RancherOS? Raspberry Pi 3B+

I've created a docker-compose.yml-compatible file within /var/lib/rancher/conf/ and successfully run sudo ros enable on the file and subsequently sudo ros up on the service defined within.

In response to the enable directive, additional configuration is added to cloud-config.yml including the service file.

However, on reboot a go stack-trace is printed on the system video console, and the service doesn't start.

It looks as if launching the service is being attempted before the userland docker is available, or some similar ordering issue.