Skip to content

Releases: AxisCommunications/docker-compose-acap

3.0.1

20 Sep 06:51
d2a08c4
Compare
Choose a tag to compare

Changes

Other

  • Avoid misleading log message by delaying start of dockerd until SD card is available (#171)

Note on upgrading from earlier versions (<3.0.0) of Docker Compose ACAP

Please see the release notes on 3.0.0 for information on upgrading.

What's Changed

  • Add option for building with sanitizers by @github-actions in #159
  • Clean up post-install script by @github-actions in #160
  • Set correct dockerd version in table by @github-actions in #161
  • Bump docker/build-push-action from 5 to 6 in /.github/actions/docker-build-action by @github-actions in #165
  • Fix linting issue in README by @madelen-at-work in #166
  • Add documentation for setting proxy by @github-actions in #167
  • Set DOCKER_BUILD_SUMMARY to false by @github-actions in #168
  • Add instruction to enable the Allow unsigned toggle by @deepikas20 in #169
  • Fix readme release links pointing to the wrong repository by @Gavus in #170
  • Delay start of dockerd until SD card is available by @github-actions in #171
  • Include license text for nsenter, ps and slirp4netns by @github-actions in #172
  • Bump super-linter/super-linter from 6 to 7 by @github-actions in #174

New Contributors

Full Changelog: 3.0.0...3.0.1

3.0.1-rc.1

18 Sep 06:32
d2a08c4
Compare
Choose a tag to compare
3.0.1-rc.1 Pre-release
Pre-release

What's Changed

  • Add option for building with sanitizers by @github-actions in #159
  • Clean up post-install script by @github-actions in #160
  • Set correct dockerd version in table by @github-actions in #161
  • Bump docker/build-push-action from 5 to 6 in /.github/actions/docker-build-action by @github-actions in #165
  • Fix linting issue in README by @madelen-at-work in #166
  • Add documentation for setting proxy by @github-actions in #167
  • Set DOCKER_BUILD_SUMMARY to false by @github-actions in #168
  • Add instruction to enable the Allow unsigned toggle by @deepikas20 in #169
  • Fix readme release links pointing to the wrong repository by @Gavus in #170
  • Delay start of dockerd until SD card is available by @github-actions in #171
  • Include license text for nsenter, ps and slirp4netns by @github-actions in #172
  • Bump super-linter/super-linter from 6 to 7 by @github-actions in #174

New Contributors

Full Changelog: 3.0.0...3.0.1-rc.1

3.0.0

03 May 13:37
c286c63
Compare
Choose a tag to compare

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

3.0.0-rc.4

02 May 08:20
9f5b06d
Compare
Choose a tag to compare
3.0.0-rc.4 Pre-release
Pre-release

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

Full Changelog: 2.0.0...3.0.0-rc.4

3.0.0-rc.3

25 Apr 10:50
5fa166a
Compare
Choose a tag to compare
3.0.0-rc.3 Pre-release
Pre-release

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

Full Changelog: 2.0.0...3.0.0-rc.3

3.0.0-rc.2

19 Apr 14:20
903e3aa
Compare
Choose a tag to compare
3.0.0-rc.2 Pre-release
Pre-release

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

Full Changelog: 2.0.0...3.0.0-rc.2

3.0.0-rc.1

18 Apr 14:26
05fc5f4
Compare
Choose a tag to compare
3.0.0-rc.1 Pre-release
Pre-release

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

Full Changelog: 2.0.0...3.0.0-rc.1

2.0.0

15 Apr 06:53
efbaded
Compare
Choose a tag to compare

Major Changes

Breaking

  • With introduction of AxStorage the location on the SD Card has moved from /var/spool/storage/SD_DISK/dockerd to /var/spool/storage/areas/SD_DISK/dockerdwrapperwithcompose. The application will attempt to migrate data from the old location but there is no support for reverting the migration if downgrading from this version to an earlier one. (#75, #79)
  • ACAP SDK update to 4.13 means that minimum Axis OS version is now 11.9 (#72)

Other

  • New Status parameter added to signal status of the application (#91)
  • New Logging parameters to select log levels for the application and dockerd separately (#89)
  • Fail installation for non-container device (#85)

What's Changed

  • Change to ACAP SDK 4.13 by @github-actions in #72
  • Use AxParameter library from native SDK by @github-actions in #73
  • Introduce constants for application name and directories by @github-actions in #74
  • Detect cherry-pick conflicts by @killenheladagen in #76
  • Listen to SD card availability using AXStorage by @github-actions in #75
  • Migrate data root by @github-actions in #79
  • Allow log be directed to stdout instead of syslog by @github-actions in #80
  • Use constants for parameter names and remove trivial reader functions by @github-actions in #81
  • Parameters as bool instead of enums by @github-actions in #82
  • Use 4 spaces indentation in manifest.json by @github-actions in #83
  • Refactor order of parameter check by @github-actions in #84
  • Fail installation for non-container device by @github-actions in #85
  • Allow runtime changing of application and dockerd log level by @github-actions in #86
  • Prevent deadlock when acting on parameter changes by @github-actions in #87
  • Ignore SD card state changes when not SD card is not used by @github-actions in #88
  • Debug log for main loop and dockerd command by @github-actions in #89
  • Avoid crash due to free() before malloc() by @github-actions in #90
  • Added status parameter to declare state of application by @github-actions in #91
  • Use 4 spaces indentation in C files by @github-actions in #92
  • Do not align consecutive assignments by @github-actions in #93
  • Log more details around child process start and stop by @github-actions in #94
  • Initialize AXParameter only once to prevent memory leak. by @github-actions in #95
  • Stop dockerd nicely by @github-actions in #96
  • Read certificates from localdata and preserve them during upgrades by @github-actions in #97
  • Refactor workflow and actions by @madelen-at-work in #98
  • Fix pre-release job of workflow by @madelen-at-work in #99
  • Workflow: Restore flag in curl command by @madelen-at-work in #100
  • Update version to 2.0.0 by @github-actions in #101
  • Pick up the correct variables by @madelen-at-work in #102
  • Fix setting Status parameter value by @github-actions in #103
  • Prevent dockerd from restarting after runtime error by @github-actions in #104
  • Make final status change while AXParameter is available by @github-actions in #105

New Contributors

Full Changelog: 1.5.0...2.0.0

2.0.0-rc.2

15 Apr 06:45
efbaded
Compare
Choose a tag to compare
2.0.0-rc.2 Pre-release
Pre-release

What's Changed

  • Change to ACAP SDK 4.13 by @github-actions in #72
  • Use AxParameter library from native SDK by @github-actions in #73
  • Introduce constants for application name and directories by @github-actions in #74
  • Detect cherry-pick conflicts by @killenheladagen in #76
  • Listen to SD card availability using AXStorage by @github-actions in #75
  • Migrate data root by @github-actions in #79
  • Allow log be directed to stdout instead of syslog by @github-actions in #80
  • Use constants for parameter names and remove trivial reader functions by @github-actions in #81
  • Parameters as bool instead of enums by @github-actions in #82
  • Use 4 spaces indentation in manifest.json by @github-actions in #83
  • Refactor order of parameter check by @github-actions in #84
  • Fail installation for non-container device by @github-actions in #85
  • Allow runtime changing of application and dockerd log level by @github-actions in #86
  • Prevent deadlock when acting on parameter changes by @github-actions in #87
  • Ignore SD card state changes when not SD card is not used by @github-actions in #88
  • Debug log for main loop and dockerd command by @github-actions in #89
  • Avoid crash due to free() before malloc() by @github-actions in #90
  • Added status parameter to declare state of application by @github-actions in #91
  • Use 4 spaces indentation in C files by @github-actions in #92
  • Do not align consecutive assignments by @github-actions in #93
  • Log more details around child process start and stop by @github-actions in #94
  • Initialize AXParameter only once to prevent memory leak. by @github-actions in #95
  • Stop dockerd nicely by @github-actions in #96
  • Read certificates from localdata and preserve them during upgrades by @github-actions in #97
  • Refactor workflow and actions by @madelen-at-work in #98
  • Fix pre-release job of workflow by @madelen-at-work in #99
  • Workflow: Restore flag in curl command by @madelen-at-work in #100
  • Update version to 2.0.0 by @github-actions in #101
  • Pick up the correct variables by @madelen-at-work in #102
  • Fix setting Status parameter value by @github-actions in #103
  • Prevent dockerd from restarting after runtime error by @github-actions in #104
  • Make final status change while AXParameter is available by @github-actions in #105

New Contributors

Full Changelog: 1.5.0...2.0.0-rc.2

2.0.0-rc.1

12 Apr 08:54
b56e9ea
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release

What's Changed

  • Change to ACAP SDK 4.13 by @github-actions in #72
  • Use AxParameter library from native SDK by @github-actions in #73
  • Introduce constants for application name and directories by @github-actions in #74
  • Detect cherry-pick conflicts by @killenheladagen in #76
  • Listen to SD card availability using AXStorage by @github-actions in #75
  • Migrate data root by @github-actions in #79
  • Allow log be directed to stdout instead of syslog by @github-actions in #80
  • Use constants for parameter names and remove trivial reader functions by @github-actions in #81
  • Parameters as bool instead of enums by @github-actions in #82
  • Use 4 spaces indentation in manifest.json by @github-actions in #83
  • Refactor order of parameter check by @github-actions in #84
  • Fail installation for non-container device by @github-actions in #85
  • Allow runtime changing of application and dockerd log level by @github-actions in #86
  • Prevent deadlock when acting on parameter changes by @github-actions in #87
  • Ignore SD card state changes when not SD card is not used by @github-actions in #88
  • Debug log for main loop and dockerd command by @github-actions in #89
  • Avoid crash due to free() before malloc() by @github-actions in #90
  • Added status parameter to declare state of application by @github-actions in #91
  • Use 4 spaces indentation in C files by @github-actions in #92
  • Do not align consecutive assignments by @github-actions in #93
  • Log more details around child process start and stop by @github-actions in #94
  • Initialize AXParameter only once to prevent memory leak. by @github-actions in #95
  • Stop dockerd nicely by @github-actions in #96
  • Read certificates from localdata and preserve them during upgrades by @github-actions in #97
  • Refactor workflow and actions by @madelen-at-work in #98
  • Fix pre-release job of workflow by @madelen-at-work in #99
  • Workflow: Restore flag in curl command by @madelen-at-work in #100
  • Update version to 2.0.0 by @github-actions in #101
  • Pick up the correct variables by @madelen-at-work in #102

New Contributors

Full Changelog: 1.5.0...2.0.0-rc.1