Skip to content

3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 May 13:37
· 17 commits to main since this release
c286c63

First release of rootless Docker Compose ACAP!
For reference see the announcement on Axis Developer Community about Removal of root-privileged access, etc.

Major Changes

Breaking

  • Application user changed to dynamic user, i.e. it does no longer have root privileges. (#122)
  • Removed migration of SD Card data root location introduced in 2.0.0 (#135)
  • ACAP SDK update to 4.14 and manifest schema 1.7.0 means that minimum Axis OS version is now 11.10 (#122, #156)

Other

  • Added cgis for uploading TLS certificates to the application (#109)

Note on upgrading from earlier versions of Docker Compose ACAP

If an earlier version of the Docker Compose ACAP has been used on the device and the SDCardSupport option is used, we recommend the following migration path. On a device running Axis OS 11.10 or 11.11:

  1. Make sure AllowRoot is set to True for installing applications
  2. Install and start Docker Compose ACAP 2.0.0 to migrate the SD card contents to the new data root location.
  3. With AllowRoot still set to True install Docker Compose ACAP 3.0.0. This will allow the postinstall script to run and set the correct permissions for the data root contents on SD card.
  4. Set the AllowRoot toggle to False

What's Changed

  • Log warnings instead of errors for missing TLS certs by @github-actions in #106
  • Allow debug logging from multiple threads by @github-actions in #107
  • Refactoring Dockerfile by @madelen-at-work in #108
  • Upload and delete certificates using HTTP requests by @github-actions in #109
  • Make dockerd 'allow start' flag thread safe by @github-actions in #110
  • Step app version to 2.1 after release by @github-actions in #111
  • Set PATH variable in code by @github-actions in #112
  • Workflow: make cache key more unique by @madelen-at-work in #113
  • Restart dockerd after successful file upload by @github-actions in #114
  • Reject upload of malformed TLS files by @github-actions in #115
  • Allow dockerd to recover when uploading a new file by @github-actions in #116
  • Break out function for building daemon command line by @github-actions in #118
  • Set status and log errors consistently by @github-actions in #119
  • Create empty daemon.json without a source file by @github-actions in #120
  • Add reviewers to CODEOWNERS by @madelen-at-work in #121
  • Manifest and postinstall updated for rootless by @github-actions in #122
  • Add env variables for rootless by @github-actions in #123
  • Updated Dockerfile for rootless by @github-actions in #124
  • Creating rootlesskit cmd by @github-actions in #125
  • Clean up docker.pid file in /var/run/user by @github-actions in #126
  • Set and restore permissions for /var/run/user/UID by @github-actions in #127
  • Remove unnecessary check that child process was started by @github-actions in #129
  • Set ownership of empty daemon.json when running postinstall as root by @github-actions in #130
  • Use rootlesskit instead of dockerd where relevant by @github-actions in #131
  • Updated documentation for rootless release by @github-actions in #132
  • Remove superfluous DOCKER_HOST variable by @github-actions in #133
  • Set IPC socket group ownership to addon by @github-actions in #134
  • Remove SD Card migration by @github-actions in #135
  • Log exit code by @github-actions in #136
  • Remove duplication of XDG runtime dir by @github-actions in #137
  • Dockerfile stage change by @github-actions in #138
  • Move and rename process exit callback by @github-actions in #139
  • Simplify concatenation of formatted strings by @github-actions in #140
  • Add sdk group by @github-actions in #141
  • Free resources in the reverse order of allocation by @github-actions in #142
  • Fix memory leak during child process exit code checking by @github-actions in #143
  • Remove unnecessary cleanup of AXParameter callbacks by @github-actions in #144
  • Remove ip-tables line by @madelen-at-work in #145
  • Clean up AXParameter callback registration code by @github-actions in #146
  • Handle HTTP requests one-by-one by @github-actions in #147
  • Don't refer to a release until it is done by @github-actions in #148
  • Restore accidentaly removed link by @madelen-at-work in #149
  • Set dockerd default log-level to warning by @github-actions in #150
  • SDK version 1.14-rc.3 by @github-actions in #151
  • Log missing SD card as a warning rather than an error by @github-actions in #152
  • Log missing TLS certificates as a warning rather than an error by @github-actions in #153
  • Remove repetitive log messages by @github-actions in #154
  • Try to change ownership of files on SD card during installation by @github-actions in #155
  • Set ACAP native SDK version to 1.14 by @github-actions in #156
  • Update links for release by @github-actions in #157

Full Changelog: 2.0.0...3.0.0