Releases: AxisCommunications/docker-acap
Releases · AxisCommunications/docker-acap
3.0.1
Changes
Other
- Avoid misleading log message by delaying start of dockerd until SD card is available (#258)
Note on upgrading from earlier versions (<3.0.0) of Docker ACAP
Please see the release notes on 3.0.0 for information on upgrading.
What's Changed
- Add option for building with sanitizers by @killenheladagen in #240
- Clean up post-install script by @killenheladagen in #249
- Set correct dockerd version in table by @madelen-at-work in #251
- Bump docker/build-push-action from 5 to 6 in /.github/actions/docker-build-action by @dependabot in #253
- Add documentation for setting proxy by @Stiv-work in #252
- Set DOCKER_BUILD_SUMMARY to false by @madelen-at-work in #255
- Add instruction to enable the Allow unsigned toggle by @deepikas20 in #257
- Delay start of dockerd until SD card is available by @killenheladagen in #258
- Include license text for nsenter, ps and slirp4netns by @killenheladagen in #259
- Bump super-linter/super-linter from 6 to 7 by @dependabot in #260
New Contributors
- @Stiv-work made their first contribution in #252
Full Changelog: 3.0.0...3.0.1
3.0.1-rc.2
What's Changed
- Include license text for nsenter, ps and slirp4netns by @killenheladagen in #259
- Bump super-linter/super-linter from 6 to 7 by @dependabot in #260
Full Changelog: 3.0.1-rc.1...3.0.1-rc.2
3.0.1-rc.1
What's Changed
- Add option for building with sanitizers by @killenheladagen in #240
- Clean up post-install script by @killenheladagen in #249
- Set correct dockerd version in table by @madelen-at-work in #251
- Bump docker/build-push-action from 5 to 6 in /.github/actions/docker-build-action by @dependabot in #253
- Add documentation for setting proxy by @Stiv-work in #252
- Set DOCKER_BUILD_SUMMARY to false by @madelen-at-work in #255
- Add instruction to enable the Allow unsigned toggle by @deepikas20 in #257
- Delay start of dockerd until SD card is available by @killenheladagen in #258
New Contributors
- @Stiv-work made their first contribution in #252
Full Changelog: 3.0.0...3.0.1-rc.1
3.0.0
First release of rootless Docker 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. (#208)
- Removed migration of SD Card data root location introduced in 2.0.0 (#228)
- ACAP SDK update to 4.14 and manifest schema 1.7.0 means that minimum Axis OS version is now 11.10 (#208, #221)
Other
- Added cgis for uploading TLS certificates to the application (#201)
Note on upgrading from earlier versions of Docker ACAP
If an earlier version of the Docker 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:
- Make sure AllowRoot is set to
True
for installing applications - Install and start Docker ACAP 2.0.0 to migrate the SD card contents to the new data root location.
- With AllowRoot still set to
True
install Docker 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. - Set the AllowRoot toggle to
False
What's Changed
- Log warnings instead of errors for missing TLS certs by @killenheladagen in #192
- Allow debug logging from multiple threads by @killenheladagen in #189
- Refactoring Dockerfile by @madelen-at-work in #200
- Upload and delete certificates using HTTP requests by @killenheladagen in #201
- Make dockerd 'allow start' flag thread safe by @killenheladagen in #202
- Step app version to 2.1 after release by @madelen-at-work in #203
- Set PATH variable in code by @madelen-at-work in #205
- Workflow: make cache key more unique by @madelen-at-work in #207
- Restart dockerd after successful file upload by @killenheladagen in #209
- Reject upload of malformed TLS files by @killenheladagen in #211
- Allow dockerd to recover when uploading a new file by @killenheladagen in #210
- Removed typos with compose by @madelen-at-work in #215
- Break out function for building daemon command line by @killenheladagen in #217
- Set status and log errors consistently by @killenheladagen in #218
- Create empty daemon.json without a source file by @killenheladagen in #216
- Manifest and postinstall updated for rootless by @madelen-at-work in #208
- Add env variables for rootless by @madelen-at-work in #206
- Updated Dockerfile for rootless by @madelen-at-work in #204
- Create rootlesskit command by @madelen-at-work in #193
- Clean up docker.pid file in /var/run/user by @killenheladagen in #213
- Set and restore permissions for /var/run/user/UID by @killenheladagen in #219
- Remove unnecessary check that child process was started by @killenheladagen in #222
- Set ownership of empty daemon.json when running postinstall as root by @killenheladagen in #224
- Use rootlesskit instead of dockerd where relevant by @killenheladagen in #225
- Updated documentation for rootless release by @madelen-at-work in #133
- Remove superfluous DOCKER_HOST variable by @killenheladagen in #227
- Set IPC socket group ownership to addon by @killenheladagen in #226
- Remove SD Card migration by @madelen-at-work in #228
- Log exit code by @killenheladagen in #230
- Remove duplication of XDG runtime dir by @killenheladagen in #229
- Dockerfile stage change by @madelen-at-work in #233
- Move and rename process exit callback by @killenheladagen in #231
- Simplify concatenation of formatted strings by @killenheladagen in #232
- Add sdk group by @madelen-at-work in #234
- Free resources in the reverse order of allocation by @killenheladagen in #237
- Fix memory leak during child process exit code checking by @killenheladagen in #236
- Remove unnecessary cleanup of AXParameter callbacks by @killenheladagen in #235
- Clean up AXParameter callback registration code by @killenheladagen in #239
- Handle HTTP requests one-by-one by @killenheladagen in #238
- Don't refer to a release until it is done by @madelen-at-work in #241
- Set dockerd default log-level to warning by @madelen-at-work in #242
- SDK version 1.14-rc.3 by @madelen-at-work in #243
- Log missing SD card as a warning rather than an error by @killenheladagen in #246
- Log missing TLS certificates as a warning rather than an error by @killenheladagen in #245
- Remove repetitive log messages by @killenheladagen in #244
- Try to change ownership of files on SD card during installation by @killenheladagen in #247
- Set ACAP native SDK version to 1.14 by @madelen-at-work in #221
- Update links for release by @madelen-at-work in #250
Full Changelog: 2.0.0...3.0.0
3.0.0-rc.4
What's Changed
- Log warnings instead of errors for missing TLS certs by @killenheladagen in #192
- Allow debug logging from multiple threads by @killenheladagen in #189
- Refactoring Dockerfile by @madelen-at-work in #200
- Upload and delete certificates using HTTP requests by @killenheladagen in #201
- Make dockerd 'allow start' flag thread safe by @killenheladagen in #202
- Step app version to 2.1 after release by @madelen-at-work in #203
- Set PATH variable in code by @madelen-at-work in #205
- Workflow: make cache key more unique by @madelen-at-work in #207
- Restart dockerd after successful file upload by @killenheladagen in #209
- Reject upload of malformed TLS files by @killenheladagen in #211
- Allow dockerd to recover when uploading a new file by @killenheladagen in #210
- Removed typos with compose by @madelen-at-work in #215
- Break out function for building daemon command line by @killenheladagen in #217
- Set status and log errors consistently by @killenheladagen in #218
- Create empty daemon.json without a source file by @killenheladagen in #216
- Manifest and postinstall updated for rootless by @madelen-at-work in #208
- Add env variables for rootless by @madelen-at-work in #206
- Updated Dockerfile for rootless by @madelen-at-work in #204
- Create rootlesskit command by @madelen-at-work in #193
- Clean up docker.pid file in /var/run/user by @killenheladagen in #213
- Set and restore permissions for /var/run/user/UID by @killenheladagen in #219
- Remove unnecessary check that child process was started by @killenheladagen in #222
- Set ownership of empty daemon.json when running postinstall as root by @killenheladagen in #224
- Use rootlesskit instead of dockerd where relevant by @killenheladagen in #225
- Updated documentation for rootless release by @madelen-at-work in #133
- Remove superfluous DOCKER_HOST variable by @killenheladagen in #227
- Set IPC socket group ownership to addon by @killenheladagen in #226
- Remove SD Card migration by @madelen-at-work in #228
- Log exit code by @killenheladagen in #230
- Remove duplication of XDG runtime dir by @killenheladagen in #229
- Dockerfile stage change by @madelen-at-work in #233
- Move and rename process exit callback by @killenheladagen in #231
- Simplify concatenation of formatted strings by @killenheladagen in #232
- Add sdk group by @madelen-at-work in #234
- Free resources in the reverse order of allocation by @killenheladagen in #237
- Fix memory leak during child process exit code checking by @killenheladagen in #236
- Remove unnecessary cleanup of AXParameter callbacks by @killenheladagen in #235
- Clean up AXParameter callback registration code by @killenheladagen in #239
- Handle HTTP requests one-by-one by @killenheladagen in #238
- Don't refer to a release until it is done by @madelen-at-work in #241
- Set dockerd default log-level to warning by @madelen-at-work in #242
- SDK version 1.14-rc.3 by @madelen-at-work in #243
- Log missing SD card as a warning rather than an error by @killenheladagen in #246
- Log missing TLS certificates as a warning rather than an error by @killenheladagen in #245
- Remove repetitive log messages by @killenheladagen in #244
- Try to change ownership of files on SD card during installation by @killenheladagen in #247
Full Changelog: 2.0.0...3.0.0-rc.4
3.0.0-rc.3
What's Changed
- Log warnings instead of errors for missing TLS certs by @killenheladagen in #192
- Allow debug logging from multiple threads by @killenheladagen in #189
- Refactoring Dockerfile by @madelen-at-work in #200
- Upload and delete certificates using HTTP requests by @killenheladagen in #201
- Make dockerd 'allow start' flag thread safe by @killenheladagen in #202
- Step app version to 2.1 after release by @madelen-at-work in #203
- Set PATH variable in code by @madelen-at-work in #205
- Workflow: make cache key more unique by @madelen-at-work in #207
- Restart dockerd after successful file upload by @killenheladagen in #209
- Reject upload of malformed TLS files by @killenheladagen in #211
- Allow dockerd to recover when uploading a new file by @killenheladagen in #210
- Removed typos with compose by @madelen-at-work in #215
- Break out function for building daemon command line by @killenheladagen in #217
- Set status and log errors consistently by @killenheladagen in #218
- Create empty daemon.json without a source file by @killenheladagen in #216
- Manifest and postinstall updated for rootless by @madelen-at-work in #208
- Add env variables for rootless by @madelen-at-work in #206
- Updated Dockerfile for rootless by @madelen-at-work in #204
- Create rootlesskit command by @madelen-at-work in #193
- Clean up docker.pid file in /var/run/user by @killenheladagen in #213
- Set and restore permissions for /var/run/user/UID by @killenheladagen in #219
- Remove unnecessary check that child process was started by @killenheladagen in #222
- Set ownership of empty daemon.json when running postinstall as root by @killenheladagen in #224
- Use rootlesskit instead of dockerd where relevant by @killenheladagen in #225
- Updated documentation for rootless release by @madelen-at-work in #133
- Remove superfluous DOCKER_HOST variable by @killenheladagen in #227
- Set IPC socket group ownership to addon by @killenheladagen in #226
- Remove SD Card migration by @madelen-at-work in #228
- Log exit code by @killenheladagen in #230
- Remove duplication of XDG runtime dir by @killenheladagen in #229
- Dockerfile stage change by @madelen-at-work in #233
- Move and rename process exit callback by @killenheladagen in #231
- Simplify concatenation of formatted strings by @killenheladagen in #232
- Add sdk group by @madelen-at-work in #234
- Free resources in the reverse order of allocation by @killenheladagen in #237
- Fix memory leak during child process exit code checking by @killenheladagen in #236
- Remove unnecessary cleanup of AXParameter callbacks by @killenheladagen in #235
- Clean up AXParameter callback registration code by @killenheladagen in #239
- Handle HTTP requests one-by-one by @killenheladagen in #238
Full Changelog: 2.0.0...3.0.0-rc.3
3.0.0-rc.2
What's Changed
- Log warnings instead of errors for missing TLS certs by @killenheladagen in #192
- Allow debug logging from multiple threads by @killenheladagen in #189
- Refactoring Dockerfile by @madelen-at-work in #200
- Upload and delete certificates using HTTP requests by @killenheladagen in #201
- Make dockerd 'allow start' flag thread safe by @killenheladagen in #202
- Step app version to 2.1 after release by @madelen-at-work in #203
- Set PATH variable in code by @madelen-at-work in #205
- Workflow: make cache key more unique by @madelen-at-work in #207
- Restart dockerd after successful file upload by @killenheladagen in #209
- Reject upload of malformed TLS files by @killenheladagen in #211
- Allow dockerd to recover when uploading a new file by @killenheladagen in #210
- Removed typos with compose by @madelen-at-work in #215
- Break out function for building daemon command line by @killenheladagen in #217
- Set status and log errors consistently by @killenheladagen in #218
- Create empty daemon.json without a source file by @killenheladagen in #216
- Manifest and postinstall updated for rootless by @madelen-at-work in #208
- Add env variables for rootless by @madelen-at-work in #206
- Updated Dockerfile for rootless by @madelen-at-work in #204
- Create rootlesskit command by @madelen-at-work in #193
- Clean up docker.pid file in /var/run/user by @killenheladagen in #213
- Set and restore permissions for /var/run/user/UID by @killenheladagen in #219
- Remove unnecessary check that child process was started by @killenheladagen in #222
- Set ownership of empty daemon.json when running postinstall as root by @killenheladagen in #224
- Use rootlesskit instead of dockerd where relevant by @killenheladagen in #225
- Updated documentation for rootless release by @madelen-at-work in #133
- Remove superfluous DOCKER_HOST variable by @killenheladagen in #227
- Set IPC socket group ownership to addon by @killenheladagen in #226
- Remove SD Card migration by @madelen-at-work in #228
Full Changelog: 2.0.0...3.0.0-rc.2
3.0.0-rc.1
What's Changed
- Log warnings instead of errors for missing TLS certs by @killenheladagen in #192
- Allow debug logging from multiple threads by @killenheladagen in #189
- Refactoring Dockerfile by @madelen-at-work in #200
- Upload and delete certificates using HTTP requests by @killenheladagen in #201
- Make dockerd 'allow start' flag thread safe by @killenheladagen in #202
- Step app version to 2.1 after release by @madelen-at-work in #203
- Set PATH variable in code by @madelen-at-work in #205
- Workflow: make cache key more unique by @madelen-at-work in #207
- Restart dockerd after successful file upload by @killenheladagen in #209
- Reject upload of malformed TLS files by @killenheladagen in #211
- Allow dockerd to recover when uploading a new file by @killenheladagen in #210
- Removed typos with compose by @madelen-at-work in #215
- Break out function for building daemon command line by @killenheladagen in #217
- Set status and log errors consistently by @killenheladagen in #218
- Create empty daemon.json without a source file by @killenheladagen in #216
- Manifest and postinstall updated for rootless by @madelen-at-work in #208
- Add env variables for rootless by @madelen-at-work in #206
- Updated Dockerfile for rootless by @madelen-at-work in #204
- Create rootlesskit command by @madelen-at-work in #193
- Clean up docker.pid file in /var/run/user by @killenheladagen in #213
- Set and restore permissions for /var/run/user/UID by @killenheladagen in #219
Full Changelog: 2.0.0...3.0.0-rc.1
2.0.0
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/dockerdwrapper
. 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. (#141, #145) - ACAP SDK update to 4.13 means that minimum Axis OS version is now 11.9 (#140)
Other
- New Status parameter added to signal status of the application (#180)
- New Logging parameters to select log levels for the application and dockerd separately (#178)
- Fail installation on device without container support (#166)
What's Changed
- Change to ACAP SDK 4.13 by @killenheladagen in #140
- Use AxParameter library from native SDK by @deepikas20 in #141
- Introduce constants for application name and directories by @killenheladagen in #167
- Listen to SD card availability using AXStorage by @killenheladagen in #158
- Migrate data root by @madelen-at-work in #145
- Allow log be directed to stdout instead of syslog by @killenheladagen in #170
- Use constants for parameter names and remove trivial reader functions by @killenheladagen in #172
- Parameters as bool instead of enum by @madelen-at-work in #169
- Use 4 spaces indentation in manifest.json by @killenheladagen in #171
- Refactor order of parameter check by @madelen-at-work in #173
- Fail installation on device without container support by @madelen-at-work in #166
- Allow runtime changing of application and dockerd log level by @killenheladagen in #175
- Prevent deadlock when acting on parameter changes by @killenheladagen in #176
- Ignore SD card state changes when not SD card is not used by @killenheladagen in #177
- Debug log for main loop and dockerd command by @madelen-at-work in #178
- Avoid crash due to free() before malloc() by @killenheladagen in #181
- Added status parameter to declare state of application by @madelen-at-work in #180
- Use 4 spaces indentation in C files by @killenheladagen in #174
- Do not align consecutive assignments by @killenheladagen in #183
- Log more details around child process start and stop by @killenheladagen in #182
- Initialize AXParameter only once to prevent memory leak by @killenheladagen in #184
- Stop dockerd nicely by @killenheladagen in #185
- Read certificates from localdata and preserve them during upgrades by @killenheladagen in #187
- Refactor workflow and actions by @madelen-at-work in #191
- Fix pre-release job of workflow by @madelen-at-work in #194
- Workflow: add flag to curl command by @madelen-at-work in #195
- Update version to 2.0 for coming release by @madelen-at-work in #168
- Pick up the correct variables by @madelen-at-work in #196
- Fix setting Status parameter value by @madelen-at-work in #197
- Prevent dockerd from restarting after runtime error by @killenheladagen in #198
- Make final status change while AXParameter is available by @killenheladagen in #199
Full Changelog: 1.5.0...2.0.0
2.0.0-rc.5
What's Changed
- Change to ACAP SDK 4.13 by @killenheladagen in #140
- Use AxParameter library from native SDK by @deepikas20 in #141
- Introduce constants for application name and directories by @killenheladagen in #167
- Listen to SD card availability using AXStorage by @killenheladagen in #158
- Migrate data root by @madelen-at-work in #145
- Allow log be directed to stdout instead of syslog by @killenheladagen in #170
- Use constants for parameter names and remove trivial reader functions by @killenheladagen in #172
- Parameters as bool instead of enum by @madelen-at-work in #169
- Use 4 spaces indentation in manifest.json by @killenheladagen in #171
- Refactor order of parameter check by @madelen-at-work in #173
- Fail installation on device without container support by @madelen-at-work in #166
- Allow runtime changing of application and dockerd log level by @killenheladagen in #175
- Prevent deadlock when acting on parameter changes by @killenheladagen in #176
- Ignore SD card state changes when not SD card is not used by @killenheladagen in #177
- Debug log for main loop and dockerd command by @madelen-at-work in #178
- Avoid crash due to free() before malloc() by @killenheladagen in #181
- Added status parameter to declare state of application by @madelen-at-work in #180
- Use 4 spaces indentation in C files by @killenheladagen in #174
- Do not align consecutive assignments by @killenheladagen in #183
- Log more details around child process start and stop by @killenheladagen in #182
- Initialize AXParameter only once to prevent memory leak by @killenheladagen in #184
- Stop dockerd nicely by @killenheladagen in #185
- Read certificates from localdata and preserve them during upgrades by @killenheladagen in #187
- Refactor workflow and actions by @madelen-at-work in #191
- Fix pre-release job of workflow by @madelen-at-work in #194
- Workflow: add flag to curl command by @madelen-at-work in #195
- Update version to 2.0 for coming release by @madelen-at-work in #168
- Pick up the correct variables by @madelen-at-work in #196
- Fix setting Status parameter value by @madelen-at-work in #197
- Prevent dockerd from restarting after runtime error by @killenheladagen in #198
- Make final status change while AXParameter is available by @killenheladagen in #199
Full Changelog: 1.5.0...2.0.0-rc.5