Skip to content

Container reconfiguration is broken #930

@wkz

Description

@wkz

Current Behavior

After a container has been launched any further reconfiguration is not applied until after reboot or a manual container {stop, setup, start} cycle.

Expected Behavior

  1. Setup docker://nginx:alpine
  2. Activate

As expected, the default landing page is accessible

  1. Add a content mount with a custom landing page
  2. Activate

The custom landing page is expected to be seen, but the default is still shown

Steps To Reproduce

No response

Additional information

The root cause is that the download/setup phase for the container is run by finit as a task. So unless the runlevel changes (which it does not during a normal reconfig-cycle), the setup phase is not run again.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcn:styxCommon Name: Styx Project

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions