Project: rkt (Runtime / Container Runtime)
File: CHANGELOG.md

This release includes some small command line tweaks and adds support for CRI logging in iottymux which is required by rktlet. It also fixes a number of bugs, adds a lot of new documentation, and updates some dependencies. status: added read from uuid-file (). stage0/run: relax '--hosts-entry' parser (). iottymux: store logs for kubelet in the appropriate location (). This change is made for rktlet. iottymux will store the logs directly in the CRI format. rkt: add AWS auth headerer support to `rkt config` (). kvm: solve certain routing issues by using the same default bridge as CNI (). networking/portfwd: fix compare routeLocalnetValue (). list: add ip of non-running pods to status output (). stage1: execute pre-start/post-stop hooks as privileged (). Even if we run the container as an unprivileged user. stage1-fly/run: allow non absolute commands to be run (). rkt: prevent skipping some images in image gc (). rkt: skip parsing in case of an empty string (). Fix issue where `rkt app add` fails with an error message like `must give only one app`, even when only one app name is given. scripts: Add libfdt to install deps (). libfdt-dev is needed when building kernels for architectures that support a device tree. makelib: Fix go-find-directories symlink problem (). scripts: adding missing dependecies to debian dependency installer (). scripts/build-pkgs: use RPM file dependency for shadow tools (). Lots of . selinux: Update to latest (). travis: update go versions (). vendor: bump docker2aci to v0.17.1 (). It fixes an image pulling bug for some images in GCR. Fixes all the misspell (). stage1/usrfromcoreos: add new image signing subkey 0638EB2F (). tests: Use semaphore install-package (). tests: Add verbose flag to build-and-run-tests.sh (). This release contains a number of bugfixes, new features like the ability to share the host IPC namespace, dependency updates, and build system improvements. app/add: Use the image name as a default name for app (). Make the `--name` flag optional like stated in the help message. stage1/init: activate systemd-journal-flush.service (). It's needed to make systemd-journald write to /var/log/journal instead of /run/log/journal. stage0/gc: try to avoid double overlay mounts (). Before Linux 4.13, it used to be possible to perform double overlayfs mounts and now it's not, handle this case. api: add CreatedAt to v1.Pod (). It might happen that the pod is created but we can't get its start time so we add a CreatedAt field to the API. lib: don't error out if we can't get the app exit code (). This can happen if the pod dies but we don't have time to register the app exit code. image: set the header instead of adding it (). The go changes its behavior for redirect and header's copy since the go 1.8: lib/app: check in upper/ if the pod uses overlay (). Getting creation/start time and status of applications will fail for pods using overlay if stage1 was unmounted (e.g. when rebooting). stage1: handle docker group semantics (). Docker uses the UID as GID if you only specify the "user". stage1: support hybrid cgroup hierarchy (). systemd introduced the hybrid cgroup hierarchy in v233, which was breaking the host flavor of rkt. pkg/keystore: ensure correct permissions on path creation (). Allow writing to `/etc/rkt/trustedkeys` as a user in the rkt group in systems with restrictive umask. networking: ensure the netns directory is mounted (). Allows using rktnetes and rkt on the same host. stage1: fix systemd version fmt in error message

The previous version caused cryptic error messages. app/add: Allow to define annotations for app from CLI (). app/sandbox: Allow to define annotations for sandbox from CLI (). stage0,rkt: don't require the pod to be running to remove apps (). stage1: enable host IPC namespace (). rkt normally creates a new IPC namespace for the pod. In order to stay in the host IPC namespace, a new option `--ipc=` was added. rkt: bash completion code (). This patch provides an implementation of the command used to generate completion code for the bash shell. vendor: bump docker2aci to v0.17.0 (). vendor: update pborman/uuid to v1.1 (). vendor: bump appc/spec to v0.8.11 (). rkt\seccomp\test: Fix arm64 stat tests (). build: sort stage1 manifest files (). To ease maintenance. build/stage1: support local systemd source for offline builds (). RPM/deb package can upgrade even if running pods (). src flavor: copy the real libnss\_files.so.2 file from the host (). It was copying a symbolic link instead. This is a minor bugfix release. It does not contain any changes to the rkt code, but it updates dependencies and runtime versions for bugfixes: vendor: update go-systemd to v15 (). rkt stopped working when running in a service with systemd v234. This update fixes it. scripts: update rkt-builder version to 1.3.0 (). This updates the default Go runtime to 1.8, fixing . This release contains changes to the behavior of `rkt run`, `rkt status`, and `rkt fly` to make them more consistent. Two of them need particular attention: `rkt status` can now omit the pid field when non-existent. Use `--wait[-ready]` to ensure a pid will be available. the `default[-restricted]` network is not added by default when a custom network is specified with `--net`. There are also some improvements on documentation and tests working on arm64. stage0/status: fix failure when systemd never runs in stage1 (). This changes the behavior of `rkt status` when a PID is not available: instead of crashing, it will now omit the pid field. Users that need to read the PID shortly after an invocation of `rkt run` should now use the `--wait[-ready]` flag explicitly. BREAKING network: do not automatically add `default*` networks when custom ones are specified (). stage1/fly: preserve environment between run and enter (). Fly run now writes the app env file, and `fly enter` reads it. stage1/fly: make run/enter honour uid/gid/suppGids (). Refactored common functionality out of run. stage1/init/units: keep journald running while apps are shutting down (). This prevents a race when apps are writing to their stdout/err (and output is being sent to stage1's journal) while shutting down. If journald terminates before the apps finish shutting down, their output will be lost. tests: get functional tests working on arm64 (). Various arch fixups to get `make check` with a coreos stage1 working on arm64 machines. Fix `--user --group` on arm64 (). Fixes issue https://github.com/rkt/rkt/issues/3714 (`rkt run --user` fails on arm64). docs: update CLI flags in run.md (). Also added rkt-run options present in rkt 1.27.0 but not present in the run.md markdown. The entries in markdown have been sorted. tests/net: skip TestNetCustomBridge on semaphore (). Reference https://github.com/rkt/rkt/issues/3739 doc: mention external stage1s (). This was discussed on: https://github.com/rkt/rkt/pull/3645#issuecomment-296865635 rkt/pubkeys: print debug logs on discovery errors (). Thisreorders log-printing and error-returning when pubkeys discovery fails, in order to print useful debugging information on error. docs: correct rkt pronunciation (). `rkt` has an icon of a rocket but previously the official pronunciation was "rock-it" which is incompatible with the logo. This change fixes

stage0: fix message formatting errors, stale forward-vars (). This minor release contains bugfixes and other improvements related to the tests and the documentation. stage1/kvm: add arm64 build (). stage0: list|status --format=json panics: RuntimeApp.Mounts.AppVolume is optional (). When it is nil, the Volume info at the Pod level (with the same name) should be used. Without this patch `rkt list --format=json` panics on a nil pointer when Apps reference Volumes from the Pod level. imagestore: Fix sql resource leaks (). When using sql queries the rows iterator needs to be closed if the entire query result is not iterated over. Failure to close the iterator results in resource leakage. networking: change the default-restricted subnet (). Previously, we were using 172.17/16, which conflicts with the default Docker networking. Change it to 172.31/16. scripts/pkg: improved detection of active mounts (). On systems which have /var/lib/rkt as a separate partition, the active mount detection in before-remove needs to not get confused by the presence of /var/lib/rkt itself as a mount. Therefore a longer path is used for active mount detection. stage1/usrfromcoreos: add new image signing sub-key EF4B4ED9 (). See coreos/init#236. scripts: skip nonexistent stage1 images when packaging (). Not all builds will generate all stage1 images. It depends on what `./configure` flags (`--with-stage1-flavors`) were used. tests: Only run race test on supported arch (). Fixes build errors like these when run on non amd64 machines: functional test: Fix manifest arch error (). The manifest contains values for the ACI arch and OS, not the go language values. Documentation updates: , , , This minor release contains bugfixes and other improvements. It also adds better support for the arm architecture to rkt, so that you can now fetch images via autodiscovery and have the correct seccomp whitelist to run them. Also notable is the new possibilty to pass extra kernel parameters to kvm, and last but not least a significant prepare/run speedup in stage0. This also introduces stricter validation on volume names, now rejecting duplicate ones. stage1: improve duplicate mount-volume detection (). Breaking change: volumes with duplicate names are now rejected. stage0/{run,prepare}: remove ondisk verification (). For backwards compatibility, specifying 'insecure-options=ondisk' will still run without error, however it will also not do anything. kvm/qemu: add extra kernel parameters (). seccomp: add arch-specific syscalls on ARM (). fetch: use proper appc os/arch labels (). tests/caps: skip if overlayfs support is missing (). build/stage1: transfer user xattr data (). stage1: include <sys/sysmacros.h> for makedev function (). Add code of conduct (). Required by CNCF. rkt list|status: app state info (i.e. exit codes) in --format=json (). integrations: add mesos (). Documentation: add container linux and tectonic as production users (). Documentation: add Gentoo to the list of distributions that have rkt (). Documentation: add some individual blog posts (). Documentation: cleanup stage1 stuff (). dist: use multi-user.target instead of default.target (). added production-users and integrations pages (). scripts: update rkt-builder version (). This minor release contains bugfixes and other improvements related to the KVM flavour, which is now using qemu-kvm by default. Switch default kvm flavour from lkvm to qemu (). stage1/kvm: Change RAM calculation, and increase minimum (). stage1: Ensure ptmx device usable by non-root for all flavours (). tests: fix TestNonRootReadInfo when $HOME is only accessible by current user (). glide: bump grpc to 1.0.4 (). vendor: bump docker2aci to 0.16.0 (). This release includes experimental support for attaching to a running application's input and output. It also introduces a more finely grained pull-policy

rkt: add experimental support for attachable applications (). It consists of: a new `attach` subcommand a set of per-app flags to control stdin/stdout/stderr modes a stage1 `iottymux` binary for multiplexing and attaching two new templated stage1 services, `iomux` and `ttymux` run/prepare/fetch: replace --no-store and --store-only with --pull-policy (). Replaces the `--no-store` and `--store-only` flags with a singular flag `--pull-policy`. can accept one of three things, `never`, `new`, and `update`. `--no-store` has been aliased to `--pull-policy=update` `--store-only` has been aliased to `--pull-policy=never` image gc: don't remove images that currently running pods were made from (). stage1/fly: evaluate symlinks in mount targets (). lib/app: use runtime app mounts and appVolumes rather than mountpoints (). kvm/qemu: Update QEMU to v2.8.0 (). stage0/app-add: CLI args should override image ones (). lib/app: use runtime app mounts and appVolumes rather than mountpoints (). kvm/lkvm: update lkvm version to HEAD (). vendor: bump appc to v0.8.10 (). docs: () tests: remove gexpect from TestAppUserGroup (). travis: remove "gimme.local" script (). tests: fix when $HOME is only accessible by current user (). makelib: introduce --enable-incremental-build, enabling "go install" (). This release adds a lot of bugfixes around the rkt fly flavor, garbage collection, kvm, and the sandbox. The new experimental `app` subcommand now follows the semantic of CRI of not quitting prematurely if apps fail or exit. Finally docker2aci received an important update fixing issues with os/arch labels which caused issues on arm architectures, a big thanks here goes to @ybubnov for this contribution. sandbox: don't exit if an app fails (). In contrast to regular `rkt run` behavior, the sandbox now does not quit if all or single apps fail or exit. stage1: fix incorrect splitting function (). sandbox/app-add: fix mount targets with absolute symlink targets (). namefetcher: fix nil pointer dereference (). Bump appc/docker2aci library version to 0.15.0 (). This supports the conversion of images with various os/arch labels. stage1: uid shift systemd files (). stage1/kvm/lkvm: chown files and dirs on creation (). stage1/fly: record pgid and let stop fallback to it (). common/overlay: allow data directory name with colon character (). api-service: stop erroring when a pod is running (). stage1/fly: clear FD_CLOEXEC only once (). stage1: Add hostname to /etc/hosts (). gc: avoid erroring in race to deletion (). tests/rkt_stop: Wait for 'stop' command to complete (). pkg/pod: avoid nil panic for missing pods (). stage1: move more logic out of AppUnit (). tests: use appc schema instead of string templates (). stage1: kvm: Update kernel to 4.9.2 (). stage1: remount entire subcgroup r/w, instead of each knob (). tests: update AWS CI setup (). pkg/fileutil: helper function to get major, minor numbers of a device file (). pkg/log: correctly handle var-arg printf params (). Documentation/stop: describe --uuid-file option (). This is a stabilization release which includes better support for environments without systemd, improvements to GC behavior in complex scenarios, and several additional fixes. rkt/cat-manifest: add support for --uuid-file (). stage1: fallback if systemd cgroup doesn't exist (). vendor: bump gocapability (). This change renames `syspsacct` to `syspacct`. stage0/app: pass debug flag to entrypoints (). gc: fix cleaning mounts and files (). This improves GC behavior in case of busy mounts and other complex scenarios. mount: ensure empty volume paths exist for copy-up (). rkt stop/rm: a pod must be closed after PodFromUUIDString() (). stage1/kvm: add a dash in kernel LOCALVERSION (). stage1/kvm: Improve QEMU Makefile rules (). pkg/pod: use IncludeMostDirs bitmask instead of constructing it (). pkg/pod: add WaitReady, dry Sandbox methods

vendor: bump gexpect to 0.1.1 (). common: fix 'the the' duplication in comment (). docs: multiple updates (, , , ). This release includes bugfixes for the experimental CRI support, more stable integration tests, and some other interesting changes: The `default-restricted` network changed from 172.16.28.0/24 to 172.17.0.0/26. The detailed roadmap for OCI support has been finalized. Change the subnet for the default-restricted network (), (). Prepare for writable /proc/sys, and /sys (). Documentation/proposals: add OCI Image Format roadmap (). stage1: app add, status didn't work with empty vols (). stage1: properly run defer'd umounts in app add (). cri: correct 'created' timestamp (). fly: ensure the target bin directory exists before building (). rkt: misc systemd-related fixes (). pkg/mountinfo: move mountinfo parser to its own package (). stage1: persist runtime parameters (), (). stage1: signal supervisor readiness (), (). sandbox: add missing flagDNSDomain and flagHostsEntries parameters (). pkg/tar: fix variable name in error (). tests: fix TestExport for the KVM+overlay case (). tests: fix some potential gexpect hangs (). tests: add smoke test for app sandbox (). tests: tentative fixes for sporadic host and kvm failures (). rkt: remove empty TODO (). Documentation updates: , (), (). This release contains additional bug fixes for the new experimental `app` subcommand, following the path towards the Container Runtime Interface (CRI). It also adds first step towards OCI by introducing an internal concept called "distribution points", which will allow rkt to recognize multiple image formats internally. Finally the rkt fly flavor gained support for `rkt enter`. stage1/fly: Add a working `rkt enter` implementation (). tests/build-and-run-test.sh: fix systemd revision parameter (). namefetcher: Use ETag in fetchVerifiedURL() (). rkt/run: validates pod manifest to make sure it contains at least one app (). rkt/app: multiple bugfixes (). glide: deduplicate cni entries and update go-systemd (). stage0: improve list --format behavior and flags (). pkg/pod: flatten the pod state if-ladders (). tests: adjust security tests for systemd v232 (). image: export `ImageListEntry` type for image list (). glide: bump gopsutil to v2.16.10 (). stage1: update coreos base to alpha 1235.0.0 (). rkt: Implement distribution points (). This is the implementation of the distribution concept proposed in . build: add --with-stage1-systemd-revision option for src build (). remove isReallyNil() (). This is cleanup PR, removing some reflection based code. vendor: update appc/spec to 0.8.9 (). vendor: Remove direct k8s dependency (). Documentation updates: , , , , . This release contains multiple changes to rkt core, bringing it more in line with the new Container Runtime Interface (CRI) from Kubernetes. A new experimental `app` subcommand has been introduced, which allows creating a "pod sandbox" and dynamically mutating it at runtime. This feature is not yet completely stabilized, and is currently gated behind an experimental flag. rkt: experimental support for pod sandbox (). This PR introduces an experimental `app` subcommand and many additional app-level options. rkt/image: align image selection behavior for the rm subcommand (). stage1/init: leave privileged pods without stage2 mount-ns (). stage0/image: list images output in JSON format (). stage0/arch: initial support for ppc64le platform (). gc: make sure `CNI_PATH` is same for gc and init (). gc: clean up some GC leaks (). stage0: minor wording fixes (). setup-data-dir.sh: fallback to the `mkdir/chmod`s if the rkt.conf doesn't exist (). scripts: add gpg to Debian dependencies (). kvm: fix for breaking change in Debian Sid GCC default options (). image/list: bring back field filtering in plaintext mode (). cgroup/v1: introduce mount flags to mountFsRO

kvm: update QEMU version to 2.7.0 (). kvm: bump kernel version to 4.8.6, updated config (). vendor: introduce kr/pretty and bump go-systemd (). vendor: update docker2aci to 0.14.0 (). tests: add the --debug option to more tests (). scripts/build-rir: bump rkt-builder version to 1.1.1 (). Documentation updates: , , . This minor release contains bugfixes, UX enhancements, and other improvements. rkt: gate diagnostic output behind `--debug` (). rkt: Change exit codes to 254 (). stage1/kvm: correctly bind-mount read-only volumes (). stage0/cas: apply xattr attributes (). scripts/install-rkt: add iptables dependency (). stage0/image: set proxy if InsecureSkipVerify is set (). vendor: update docker2aci to 0.13.0 (). This fixes multiple fetching and conversion bugs, including two security issues. scripts: update glide vendor script (). vendor: update appc/spec to v0.8.8 (). stage1: update to CoreOS 1192.0.0 (and update sanity checks) (). cgroup: introduce proper cgroup/v1, cgroup/v2 packages (). Documentation updates: (), (), (). This is a minor release packaging rkt-api systemd service units, and fixing a bug caused by overly long lines in generated stage1 unit files. dist: Add systemd rkt-api service and socket (). dist: package rkt-api unit files (). stage1: break down overlong property lines (). stage0: fix typo and some docstring style (). stage0: Create an mtab symlink if not present (). stage1: use systemd protection for kernel tunables (). Documentation updates: (, , , , , ) This release contains an important bugfix for the stage1-host flavor, as well as initial internal support for cgroup2 and pod sandboxes as specified by kubernetes CRI (Container Runtime Interface). stage1/host: fix systemd-nspawn args ordering (). Fixes https://github.com/rkt/rkt/issues/3215. rkt: support for unified cgroups (cgroup2) (). This implements support for cgroups v2 along support for legacy version. cri: initial implementation of stage1 changes (). This PR pulls the stage1-based changes from the CRI branch back into master, leaving out the changes in stage0 (new app subcommands). doc/using-rkt-with-systemd: fix the go app example (). rkt: refactor app-level flags handling (). This is in preparation for https://github.com/rkt/rkt/pull/3205 docs/distributions: rearrange, add centos (). rkt: Correct typos listed by the tool misspell (). This relase brings some expanded DNS configuration options, beta support for QEMU, recursive volume mounts, and improved sd_notify support. DNS configuration improvements (): Respect DNS results from CNI Add --dns=host mode to bind-mount the host's /etc/resolv.conf Add --dns=none mode to ignore CNI DNS Add --hosts-entry (IP=HOSTNAME) to tweak the pod's /etc/hosts Add --hosts-entry=host to bind-mount the host's /etc/hosts Introduce QEMU support as an alternative KVM hypervisor () add support for recursive volume/mounts () stage1: allow sd_notify from the app in the container to the host (). rkt-monitor: bunch of improvements () makefile/kvm: add dependency for copied files () store: refactor GetRemote (). build,stage1: include systemd dir when checking libs () tests: volumes: add missing test `volumeMountTestCasesNonRecursive` () kvm/pod: disable insecure-options=paths for kvm flavor () stage0: don't copy image annotations to pod manifest RuntimeApp annotations () stage1: shutdown.service: don't use /dev/console () build: build simple .deb and .rpm packages (). Add a simple script to build .deb and .rpm packages. This is not a substitute for a proper distro-maintained package. Documentation updates: () () () () () () () proposals/app-level-api: add rkt app sandbox subcommand (). This adds a new subcommand `app init` to create an initial empty pod. This release updates the coreos and kvm flavors, bringing in a newer stable systemd (v231). Several fixes and cgroups-related changes landed in `api-service`, and better heuristics have been introduced to avoid using overlays in non-supported

Finally, `run-prepared` now honors options for insecure/privileged pods too. stage1: update to CoreOS 1151.0.0 and systemd v231 (). common: fall back to non-overlay with ftype=0 (). rkt: honor insecure-options in run-prepared (). stage0: fix golint warnings (). rkt: avoid possible panic in api-server (). rkt/run: allow --set-env-file files with comments (). scripts/install-rkt: add wget as dependency (). install-rkt.sh: scripts: Fix missing files in .deb when using install-rkt.sh (). tests: check for run-prepared with insecure options (). seccomp/docker: update docker whitelist to include mlock (). This updates the `@docker/default-whitelist` to include mlock-related syscalls (mlock, mlock2, mlockall). build: add PowerPC (). scripts: install-rkt.sh: fail install-pak on errors (). When install-pak (called from install-rkt.sh) fails at some point abort packaging. api_service: Rework cgroup detection (). Use the `subcgroup` file hint provided by some stage1s rather than machined registration. Documentation/devel: add make images target (). This introduces the possibility to generate graphivz based PNG images using a new `images` make target. vendor: update appc/spec to 0.8.7 (). stage1/kvm: avoid writing misleading subcgroup (). vendor: update go-systemd to v12 (). scripts: bump coreos.com/rkt/builder image version (). This bumps rkt-builder version to 1.0.2, in order to work with seccomp filtering. export: test export for multi-app pods (). Documentation updates: (, , , , , , , , , ) This release introduces support for exporting single applications out of multi-app pods. Moreover, it adds additional support to control device manipulation inside pods. Finally all runtime security features can now be optionally disabled at the pod level via new insecure options. This version also contains multiple bugfixes and supports Go 1.7. export: name flag for exporting multi-app pods (). stage1: limit device node creation/reading/writing with DevicePolicy= and DeviceAllow= (, ). rkt: implements --insecure-options={capabilities,paths,seccomp,run-all} (). kvm: use a properly formatted comment for iptables chains (). rkt was using the chain name as comment, which could lead to confusion. pkg/label: supply mcsdir as function argument to InitLabels() (). api_service: improve machined call error output (). general: fix old appc/spec version in various files (). rkt/pubkey: use custom http client including timeout (). dist: remove quotes from rkt-api.service ExecStart (). build: multiple fixes (, , ). configure: disable tests on host flavor with systemd <227 (). travis: add go 1.7, bump go 1.5/1.6 (). api_service: Add lru cache to cache image info (). scripts: add curl as build dependency (). vendor: use appc/spec 0.8.6 and k8s.io/kubernetes v1.3.0 (). common: use fileutil.IsExecutable() (). build: Stop printing irrelevant invalidation messages (). build: Make generating clean files simpler to do (). Documentation: misc changes (, , , , , , , , , , ). functional tests: misc fixes (). This release introduces support for seccomp filtering via two new seccomp isolators. It also gives a boost to api-service performance by introducing manifest caching. Finally it fixes several regressions related to Docker images handling. cli: rename `--cap-retain` and `--cap-remove` to `--caps-*` (). stage1: apply seccomp isolators (). This introduces support for appc seccomp isolators. scripts: add /etc/rkt owned by group rkt-admin in setup-data-dir.sh (). rkt: add `--caps-retain` and `--caps-remove` to prepare (). store: allow users in the rkt group to delete images (). api_service: cache pod manifest (). Manifest caching considerably improves api-service performances. store: tell the user to run as root on db update (). stage1: disabling cgroup namespace in systemd-nspawn (). For more information see . fly: copy rkt-resolv.conf in the app (). store: decouple aci store and treestore implementations (). store: record ACI fetching information (). stage1/init: fix writing of /etc/machine-id (). rkt-monitor: multiple fixes (,

rkt: don't errwrap cli_apps errors (). pkg/tar/chroot: avoid errwrap in function called by multicall (). networking: apply CNI args to the default networks as well (). trust: provide InsecureSkipTLSCheck to pubkey manager (). api_service: update grpc version (). fetcher: httpcaching fixes (). build,stage1/init: set interpBin at build time for src flavor (). common: introduce RemoveEmptyLines() (). glide: update docker2aci to v0.12.3 (). This fixes multiple bugs in layers ordering for Docker images. glide: update go-systemd to v11 (). This fixes a buggy corner-case in journal seeking (implicit seek to head). docs: document capabilities overriding (, ). issue template: add '\n' to the end of environment output (). functional tests: multiple fixes (, , ). This release sets the ground for the new upcoming KVM qemu flavor. It adds support for exporting a pod to an ACI including all modifications. The rkt API service now also supports systemd socket activation. Finally we have diagnostics back, helping users to find out why their app failed to execute. KVM: Hypervisor support for KVM flavor focusing on qemu (). This provides a generic mechanism to use different kvm hypervisors (such as lkvm, qemu-kvm). rkt: add command to export a pod to an aci (). Adds a new `export` command to rkt which generates an ACI from a pod; saving any changes made to the pod. rkt/api: detect when run as a `systemd.socket(5)` service (). This allows rkt to run as a systemd socket-based unit. rkt/stop: implement `--uuid-file` (). So the user can use the value saved on rkt run with `--uuid-file-save`. scripts/glide-update: ensure running from $GOPATH (). glide is confused when it's not running with the rkt repository inside $GOPATH. store: fix missing shared storelock acquisition on NewStore (). store,rkt: fix fd leaks (). Close db lock on store close. If we don't do it, there's a fd leak everytime we open a new Store, even if it was closed. stage1/enterexec: remove trailing `\n` in environment variables (). Loading environment retained the new line character (`\n`), this produced an incorrect evaluation of the environment variables. stage1/gc: skip cleaning our own cgroup (). api_service/log: fix file descriptor leak in GetLogs() (). protobuf: fix protoc-gen-go build with vendoring (). build: fix x86 builds (). This PR fixes a minor issue which leads to x86 builds failing. functional tests: add some more volume/mount tests (). stage1/init: link pod's journal in kvm flavor (). In nspawn flavors, nspawn creates a symlink from `/var/log/journal/${machine-id}` to the pod's journal directory. In kvm we need to do the link ourselves. build: Build system fixes (). This should fix the `expr: syntax error` and useless rebuilds of network plugins. stage1: diagnostic functionality for rkt run (). If the app exits with `ExecMainStatus == 203`, the app's reaper runs the diagnostic tool and prints the output on stdout. systemd sets `ExecMainstatus` to EXIT_EXEC (203) when execve() fails. build: add support for more architectures at configure time (). stage1: update coreos image to 1097.0.0 (). This is needed for a recent enough version of libseccomp (2.3.0), with support for new syscalls (eg. getrandom). api: By adding labels to the image itself, we don't need to pass the manifest to filter function (). api: Add labels to pod and image type. api: optionally build systemd-journal support (). This introduces a 'sdjournal' tag and corresponding stubs in api_service, turning libsystemd headers into a soft-dependency. store: simplify db locking and functions (). Instead of having a file lock to handle inter process locking and a

to handle locking between multiple goroutines, just create, lock and close a new file lock at every db.Do function. stage1/enterexec: Add entry to ASSCBEXTRAHEADERS (). Added entry to ASSCBEXTRAHEADERS for better change tracking. build: use rkt-builder ACI (). Add hidden 'image fetch' next to the existing 'fetch' option (). stage1: prepare-app: don't mount /sys if path already used (). When users mount /sys or a sub-directory of /sys as a volume, prepare-app should not mount /sys: that would mask the volume provided by users. build,stage1/init: set interpBin at build time to fix other architecture builds (e.g. x86) (). functional tests: re-purpose aws.sh for generating AMIs (). rkt: Add `--cpuprofile` `--memprofile` for profiling rkt (). Adds two hidden global flags and documentation to enable profiling rkt. functional test: check PATH variable for trailer `\n` character (). functional tests: disable TestVolumeSysfs on kvm (). Documentation updates () glide: update docker2aci to v0.12.1 (). Includes support for the docker image format v2.2 and OCI image format and allows fetching via digest. This is a minor bug fix release. rkt/run: handle malformed environment files () stage1/enterexec: remove trailing `\n` in environment variables () This release introduces a number of important features and improvements: ARM64 support A new subcommand `rkt stop` to gracefully stop running pods native Go vendoring with Glide rkt is now packaged for openSUSE Tumbleweed and Leap Add ARM64 support (). This enables ARM64 cross-compliation, fly, and stage1-coreos. Replace Godep with Glide, introduce native Go vendoring (). rkt: rkt stop (). Cleanly stops a running pod. For systemd-nspawn, sends a SIGTERM. For kvm, executes `systemctl halt`. stage1/fly: respect runtimeApp App's MountPoints (). Fixes #2846. run: fix sandbox-side metadata service to comply to appc v0.8.1 (). Fixes #2621. build directory layout change (): The rkt binary and stage1 image files have been moved from the 'bin' sub-directory to the 'target/bin' sub-directory. networking/kvm: add flannel default gateway parsing (). stage1/enterexec: environment file with '\n' as separator (systemd style) (). pkg/tar: ignore global extended headers (). pkg/tar: remove errwrap (). tests: fix abuses of appc types.Isolator (). common: remove unused GetImageIDs() (). common/cgroup: add mountFsRO() helper function (). Documentation updates (, , , , , , ) glide: bump ql to v1.0.4 (). It fixes an occassional panic when doing GC. glide: bump gopsutils to 2.1 (). To include https://github.com/shirou/gopsutil/pull/194 (this adds ARM aarch64 support) vendor: update appc/spec to 0.8.5 (). This is a minor bug fix release. Godeps: update go-systemd (). go-systemd v10 fixes a panic-inducing bug due to returning incorrect Read() length values. stage1/fly: use 0755 to create mountpaths (). This will allow any user to list the content directories. It does not have any effect on the permissions on the mounted files itself. This release focuses on bug fixes and developer tooling and UX improvements. rkt/run: added --set-env-file switch and priorities for environments (). --set-env-file gets an environment variables file path in the format "VAR=VALUE\n...". run: add --cap-retain and --cap-remove (). store: print more information on rm as non-root (). Documentation/vagrant: use rkt binary for getting started (). docs: New file in documentation - instruction for new developers in rkt (). stage0/trust: change error message if prefix/root flag missing (). rkt/uuid: fix match when uuid is an empty string (). rkt/api_service: fix fly pods (). api/clientexample: fix panic if pod has no apps (). Fixes the concern expressed in https://github.com/rkt/rkt/pull/2763#discussionr66409260 api_service: wait until a pod regs with machined (). stage1: update coreos image to 1068.0.0

KVM: Update LKVM patch to mount with mmap mode (). stage1: always write /etc/machine-id (). Prepare rkt for systemd-v230 in stage1. stage1/prepare-app: always adjust /etc/hostname (). This release focuses on stabilizing the API service, fixing multiple issues in the logging subsystem. api: GetLogs: improve client example with 'Follow' (). kvm: add proxy arp support to macvtap (). stage0/config: add a CLI flag to pretty print json (). stage1: make /proc/bus/ read-only (). api: GetLogs: use the correct type in LogsStreamWriter (). api: fix service panic on incomplete pods (). api: Fix the GetLogs() when appname is given (). pkg/selinux: various fixes (). pkg/fileutil: don't remove the cleanSrc if it equals '.' (). stage0: remove superfluous error verbs (). Godeps: bump go-systemd (). Fixes a panic on the api-service when calling GetLogs(). Documentation updates (, , , , , ) Test improvements (). This release introduces some new security features, including a "no-new-privileges" isolator and initial (partial) restrictions on /proc and /sys access. Cgroups handling has also been improved with regards to setup and cleaning. Many bugfixes and new documentation are included too. stage1: implement no-new-privs linux isolator (). stage0: disable OverlayFS by default when working on ZFS (). stage1: (partially) restrict access to procfs and sysfs paths (). stage1: clean up pod cgroups on GC (). stage1/prepare-app: don't mount /sys/fs/cgroup in stage2 (). stage0: complain and abort on conflicting CLI flags (). stage1: update CoreOS image signing key (). api_service: Implement GetLogs RPC request (). networking: update to CNI v0.3.0 (). api: fix image size reporting (). build: fix build failures on manpages/bash-completion target due to missing GOPATH (). dist: fix "other" permissions so rkt list can work without root/rkt-admin (). kvm: fix logging network plugin type (). kvm: transform flannel network to allow teardown (). rkt: fix panic on rm a non-existing pod with uuid-file (). stage1/init: work around `cgroup/SCM_CREDENTIALS` race (). gc: mount stage1 on GC (). stage1: fix network files leak on GC (). deps: remove unused dependencies (). deps: appc/spec, k8s, protobuf updates (). deps: use tagged release of github.com/shirou/gopsutil (). deps: bump docker2aci to v0.11.1 (). Documentation updates (, , , , , , ). Test improvements (, , , , , , , , , , ). This release focuses on security enhancements. It provides additional isolators, creating a new mount namespace per app. Also a new version of CoreOS 1032.0.0 with systemd v229 is being used in stage1. stage1: implement read-only rootfs (). Using the Pod manifest readOnlyRootFS option mounts the rootfs of the app as read-only using systemd-exec unit option ReadOnlyDirectories, see . stage1: capabilities: implement both remain set and remove set (). It follows the , as modified by . stage1/init: create a new mount ns for each app (). Up to this point, you could escape the app's chroot easily by using a simple program downloaded from the internet . To avoid this, we now create a new mount namespace per each app. api: Return the pods even when we failed getting information about them (). stage1/usrfromcoreos: use CoreOS 1032.0.0 with systemd v229 (). kvm: fix flannel network info (). It wasn't saving the network information on disk. stage1: Machine name wasn't being populated with the full UUID (). rkt: Some simple arg doc string fixes (). Remove some unnecessary indefinite articles from the start of argument doc strings and fixes the arg doc string for run-prepared's --interactive flag. stage1: Fix segfault in enterexec

This happened if rkt enter was executed without the TERM environment variable set. net: fix port forwarding behavior with custom CNI ipMasq'ed networks and allow different hostPort:podPort combinations (). stage0: check and create /etc (). Checks '/etc' before writing to '/etc/rkt-resolv.conf' and creates it with default permissions if it doesn't exist. godep: update cni to v0.2.3 (). godep: update appc/spec to v0.8.1 (, ). dist: Update tmpfiles to create /etc/rkt (). By creating this directory, users can run `rkt trust` without being root, if the user is in the rkt group. Invoke gofmt with simplify-code flag (). Enables code simplification checks of gofmt. Implement composable uid/gid generators (). This cleans up the code a bit and implements uid/gid functionality for rkt fly. stage1: download CoreOS over HTTPS (). Documentation updates (, , , , , , ). Test improvements (, , ). This release is a minor bug fix release. rkt: fix bug where rkt errored out if the default data directory didn't exist . kvm: fix docker volume semantics (). When a Docker image exposes a mount point that is not mounted by a host volume, Docker volume semantics expect the files in the directory to be available to the application. This was not working properly in the kvm flavor and it's fixed now. kvm: fix net long names (). Handle network names that are longer than the maximum allowed by iptables in the kvm flavor. minor tests and clean-ups (). This release switches to pure systemd for running apps within a pod. This lays the foundation to implement enhanced isolation capabilities. For example, starting with v1.5.0, apps are started with more restricted capabilities. User namespace support and the KVM stage1 are not experimental anymore. Resource usage can be benchmarked using the new rkt-monitor tool. stage1: replace appexec with pure systemd (). Replace functionality implemented in appexec with equivalent systemd options. This allows restricting the capabilities granted to apps in a pod and makes enabling other security features (per-app mount namespaces, seccomp filters...) easier. stage1: restrict capabilities granted to apps (). Apps in a pod receive now a . rkt/image: render images on fetch (). On systems with overlay fs support, rkt was delaying rendering images to the tree store until they were about to run for the first time which caused that first run to be slow for big images. When fetching as root, render the images right away so the first run is faster. kvm: fix mounts regression (). Cause - AppRootfsPath called with local "root" value was adding stage1/rootfs twice. After this change this is made properly. rkt/image: strip "Authorization" on redirects to a different host (). We now don't pass the "Authorization" header if the redirect goes to a different host, it can leak sensitive information to unexpected third parties. stage1/init: interpret the string "root" as UID/GID 0 (). This is a special case and it should work even if the image doesn't have /etc/passwd or /etc/group. added benchmarks folder, benchmarks for v1.4.0 (). Added the `Documentation/benchmarks` folder which includes a README that describes how rkt-monitor works and how to use it, and a file detailing the results of running rkt-monitor on each current workload with rkt v1.4.0. minor documentation fixes (, , ). kvm: enable functional tests for kvm (). This includes initial support for running functional tests on the `kvm` flavor. benchmarks: added rkt-monitor benchmarks (). This includes the code for a golang binary that can start rkt and watch its resource usage and bash scripts for generating a handful of test

scripts: generate a Debian Sid ACI instead of using the Docker hub image (). This is the first step to having an official release builder. pkg/sys: add SYSSYNCFS definition for ppc64/ppc64le (). Added missing SYSSYNCFS definition for ppc64 and ppc64le, fixing build failures on those architectures. userns: not experimental anymore (). Although it requires doing a recursive chown for each app, user namespaces work fine and shouldn't be marked as experimental. kvm: not experimental anymore (). The kvm flavor was initially introduced in rkt v0.8.0, no reason to mark it as experimental. This release includes a number of new features and bugfixes like a new config subcommand, man page, and bash completion generation during build time. config: add config subcommand (). This new subcommand prints the current rkt configuration. It can be used to get i.e. authentication credentials. See rkt's documentation. run: add `--user`/`--group` app flags to `rkt run` and `rkt prepare` allowing to override the user and group specified in the image manifest (). gc: Add flag 'mark-only' to mark garbage pods without deleting them (, ). This new flag moves exited/aborted pods to the exited-garbage/garbage directory but does not delete them. A third party application can use `rkt gc --mark-only=true` to mark exited pods as garbage without deleting them. kvm: Add support for app capabilities limitation (). By default kvm flavor has got enabled every capability inside pod. This patch adds support for a restricted set of capabilities inside a kvm flavor of rkt. stage1/init: return exit code 1 on error (). On error, stage1/init was returning a non-zero value between 1 and 7. This change makes it return status code 1 only. api: Add 'CreatedAt', 'StartedAt' in pod's info returned by api service. (). Minor documentation fixes (, , ). functional tests: Add new test with systemd-proxyd (). Adds a new test and documentation how to use systemd-proxyd with rkt pods. kvm: refactor volumes support (). This allows users to share regular files as volumes in addition to directories. kvm: fix rkt status (). Fixes a regression bug were `rkt status` was no longer reporting the pid of the pod when using the kvm flavor. Build actool for the build architecture (). Fixes a cross compilation issue with acbuild. rkt: calculate real dataDir path (). Fixes garbage collection when the data directory specified by `--dir` contains a symlink component. stage1/init: fix docker volume semantics (). Fixes a bug in docker volume semantics when rkt runs with the option `--pod-manifest`. When a Docker image exposes a mount point that is not mounted by a host volume, Docker volume semantics expect the files in the directory to be available to the application. This was partially fixed in rkt 1.3.0 via but the bug remained when rkt runs with the option `--pod-manifest`. This is now fully fixed. rkt/image: check that discovery labels match manifest labels (). store: fix multi process with multi goroutines race on db (). This was a bug when multiple `rkt fetch` commands were executed concurrently. kvm: fix pid vs ppid usage (). Fixes a bug in `rkt enter` in the kvm flavor causing an infinite loop. kvm: Fix connectivity issue in macvtap networks caused by macvlan NICs having incorrect names (). tests: TestRktListCreatedStarted: fix timing issue causing the test to fail on slow machines (). rkt/image: remove redundant quotes in an error message (). prepare: Support 'ondisk' verification skip as documented by

Prior to this commit, rkt prepare would check the ondisk image even if the `--insecure-options=ondisk` flag was provided. This corrects that. tests: skip TestSocketProxyd when systemd-socket-proxyd is not installed (). tests: TestDockerVolumeSemantics: more tests with symlinks (). rkt: Improve build shell script used in (). protobuf: generate code using a script (). Generate manpages (). This adds support for generating rkt man pages using `make manpages` and the bash completion file using `make bash-completion`, see the note for packagers below. tests/aws.sh: add test for Fedora 24 (). Files generated from sources are no longer checked-in the git repository. Instead, packagers should build them: Bash completion file, generated by `make bash-completion` Man pages, generated by `make manpages` This release includes a number of new features and bugfixes like the long-awaited propagation of apps' exit status. Propagate exit status from apps inside the pod to rkt (). Previously, if an app exited with a non-zero exit status, rkt's exit status would still be 0. Now, if an app fails, its exit status will be propagated to the outside. While this was partially implemented in some stage1 flavors since rkt v1.1.0, it now works in the default coreos flavor. Check signatures for stage1 images by default, especially useful when stage1 images are downloaded from the Internet (). This doesn't affect the following cases: The stage1 image is already in the store The stage1 image is in the default directory configured at build time The stage1 image is the default one and it is in the same directory as the rkt binary Allow downloading of insecure public keys with the `pubkey` insecure option (). Implement Docker volume semantics (). Docker volumes are initialized with the files in the image if they exist, unless a host directory is mounted there. Implement that behavior in rkt when it runs a Docker converted image. Return the cgroup when getting information about running pods and add a new cgroup filter (). Avoid configuring more CPUs than the host has in the kvm flavor (). Fix a bug where the proxy configuration wasn't forwarded to docker2aci (). This release drops support for go1.4. This release fixes a couple of bugs we missed in 1.2.0. Do not error out if `/dev/ptmx` or `/dev/log` exist (). Vendor a release of go-systemd instead of current master (). This release is an incremental release with numerous bug fixes. Add `--hostname` option to rkt run/run-prepared (). This option allows setting the pod host name. Fix deadlock while exiting a lkvm rkt pod (). SELinux fixes preparating rkt to work on Fedora with SELinux enabled ( and ). Fix bug that occurs for some types of on-disk image corruption, making it impossible for the user run or garbage collect them (). Fix authentication issue when fetching from a private quay.io repository (). Allow concurrent image fetching (). Fix issue mounting volumes on images if the target path includes an absolute symlink (). Clean up dangling symlinks in `/var/log/journal` on garbage collection if running on systemd hosts (). The stage1 command line interface is versioned now. See the for more information. This release is the first incremental release since 1.0. It includes bugfixes and some UX improvements. Add support for non-numerical UID/GID as specified in the appc spec (). rkt can now start apps as the user and group specified in the with three different possible formats: a numeric UID/GID, a username and group name referring to the ACI's /etc/passwd and /etc/group, or a file path in the ACI whose owner will determine the

When an application terminates with a non-zero exit status, `rkt run` should return that exit status (). This is now fixed in the with but not yet in the shipped coreos flavor. Use exit status 2 to report usage errors (). Add support for tuning pod's network via the (). For example, this allows increasing the size of the listen queue for accepting new TCP connections (`net.core.somaxconn`) in the rkt pod. Keep $TERM from the host when entering a pod (). This fixes the command "clear" which previously was not working. Socket activation was not working if the port on the host is different from the app port as set in the image manifest (). Fix an authentication failure when fetching images from private repositories in the official Docker registry (). Set /etc/hostname in kvm pods (). This marks the first release of rkt recommended for use in production. The command-line UX and on-disk format are considered stable and safe to develop against. Any changes to these interfaces will be backwards compatible and subject to formal deprecation. The API is not yet completely stabilized, but is functional and suitable for use by early adopters. Add pod creation and start times to `rkt list` and `rkt status` (). See and documentation. The DNS configuration can now be passed to the pod via the command line (). See documentation. Errors are now structured, allowing for better control of the output (). See for how a developer should use it. All output now uses the new log package in `pkg/log` to provide a more clean and consistent output format and more helpful debug output (). Added configuration for stage1 image. Users can drop a configuration file to `/etc/rkt/stage1.d` (or to `stage1.d` in the user configuration directory) to tell rkt to use a different stage1 image name, version and location instead of build-time defaults (). Replaced the `--stage1-image` flag with a new set of flags. `--stage1-url`, `--stage-path`, `--stage1-name` do the usual fetching from remote if the image does not exist in the store. `--stage1-hash` takes the stage1 image directly from the store. `--stage1-from-dir` works together with the default stage1 images directory and is described in the next point (). Added default stage1 images directory. User can use the newly added `--stage1-from-dir` parameter to avoid typing the full path. `--stage1-from-dir` behaves like `--stage1-path` (). Removed the deprecated `--insecure-skip-verify` flag (). Fetched keys are no longer automatically trusted by default, unless `--trust-keys-from-https` is used. Additionally, newly fetched keys have to be explicitly trusted with `rkt trust` if a previous key was trusted for the same image prefix (). Use NAT loopback to make ports forwarded in pods accessible from localhost (). Show a clearer error message when unprivileged users execute commands that require root privileges (). Add a rkt tmpfiles configuration file to make the creation of the rkt data directory on first boot easier (). Remove `rkt install` command. It was replaced with a `setup-data-dir.sh` script (. Fix regression when authenticating to v2 Docker registries (). Don't link to libacl, but dlopen it (). This means that rkt will not crash if libacl is not present on the host, but it will just print a warning. Only suppress diagnostic messages, not error messages in stage1 (). Trusted Platform Module logging (TPM) is now enabled by default (). This ensures that rkt benefits from security features by default. See rkt's documentation. Added long descriptions to all rkt commands (). The `--stage1-image` flag was

Scripts using it should be updated to use one of `--stage1-url`, `--stage1-path`, `--stage1-name`, `--stage1-hash` or `--stage1-from-dir` All uses of the deprecated `--insecure-skip-verify` flag should be replaced with the `--insecure-options` flag which allows user to selectively disable security features. The `rkt install` command was removed in favor of the `dist/scripts/setup-data-dir.sh` script. With this release, `rkt` RPM/dpkg packages should have the following updates: Pass `--enable-tpm=no` to configure script, if `rkt` should not use TPM. Use the `--with-default-stage1-images-directory` configure flag, if the default is not acceptable and install the built stage1 images there. Distributions using systemd: install the new file `dist/init/systemd/tmpfiles.d/rkt.conf` in `/usr/lib/tmpfiles.d/rkt.conf` and then run `systemd-tmpfiles --create rkt.conf`. This can replace running `rkt install` to set the correct ownership and permissions. Explicitly allow http connections via a new 'http' option to `--insecure-options` (). Any data and credentials will be sent in the clear. When using `bash`, `rkt` commands can be auto-completed (). The executables given on the command line via the `--exec` parameters don't need to be absolute paths anymore (). This change reflects an update in the appc spec since . See rkt's documentation. Add a `--full` flag to rkt fetch so it returns full hash of the image (). There is a new global flag for specifying the user configuration directory, `--user-config`. It overrides whatever is configured in system and local configuration directories. It can be useful for specifying different credentials for fetching images without putting them in a globally visible directory like `/etc/rkt`. See rkt's documentation (). As a temporary fix, search for network plugins in the local configuration directory too (). Pass the environment defined in the image manifest to the application when using the fly stage1 image (). Fix vagrant rkt build (). Switch to using unrewritten imports, this will allow rkt packages to be cleanly vendored by other projects (). Allow filtering images by name (). Fix bug where the wrong image signature was checked when using dependencies (). A new script to run test on AWS makes it easier to test under several distributions: CentOS, Debian, Fedora, Ubuntu (). The functional tests now skip user namespace tests when user namespaces do not work (). Check that rkt is not built with go 1.5.{0,1,2} to make sure it's not vulnerable to CVE-2015-8618 (). Cleanups in the kvm stage1 (). Document stage1 filesystem layout for developers (). With this release, `rkt` RPM/dpkg packages should have the following updates: Install the new file `dist/bashcompletion/rkt.bash` in `/etc/bashcompletion.d/`. rkt v0.15.0 is an incremental release with UX improvements, bug fixes, API service enhancements and new support for Go 1.5. Images can now be deleted from the store by both ID and name (). See rkt's documentation. The journals of rkt pods can now be accessed by members of the Unix group rkt (). See rkt's documentation. Mention (). Document and add a explaining how the api service can be used to integrate rkt with other programs (). Programs using rkt's API service are now provided with the size of the images stored in rkt's store (). Programs using rkt's API service are now provided with any annotations found in the and (). Fix a panic in the API service by making the store database thread-safe () and by refactoring the API service functions to get the pod state (). Add support for building rkt with Go 1.5, which is now the preferred version. rkt can still be built with Go 1.4 as best effort (). As part of the move to Go

rkt now has a godep-save script to support Go 1.5 (). Continuous Integration on Travis now builds with both Go 1.4.2 and Go 1.5.2. Go 1.4.3 is avoided to workaround recent problems with go vet (). Fix regression issue when downloading image signatures from quay.io (). Properly cleanup the tap network interface that were not cleaned up in some error cases when using the kvm stage1 (). Fix a bug in the 9p filesystem used by the kvm stage1 that were preventing `apt-get` from working propertly (). rkt v0.14.0 brings new features like resource isolators in the kvm stage1, a new stage1 flavor called fly, bug fixes and improved documentation. The appc spec version has been updated to v0.7.4 The data directory that rkt uses can now be configured with a config file (). See rkt's documentation. CPU and memory resource isolators can be specified on the command line to override the limits specified in the image manifest (, ). See rkt's documentation. CPU and memory resource isolators can now be used within the kvm stage1 () The `rkt image list` command can now display the image size (). A new stage1 flavor has been added: fly; and it represents the first experimental implementation of the upcoming rkt fly feature. () It is now possible to build rkt inside rkt (). This should improve the reproducibility of builds. This release does not use it yet but it is planned for future releases. Linux distribution packagers can override the version of stage1 during the build (). This is needed for any Linux distributions that might carry distro-specific patches along the upstream release. See rkt's documentation about . Smaller build improvements with dep generation (), error messages on `make clean` (), dependency checks in the kvm flavor () rkt is now able to override the application command with `--exec` when the application manifest didn't specify any command (). In some cases, user namespaces were not working in Linux distributions without systemd, such as Ubuntu 14.04 LTS. This is fixed by creating a unique cgroup for each pod when systemd is not used () rkt's tar package didn't prefix the destination file correctly when using hard links in images. This was not a issue in rkt itself but was causing acbuild to misbehave (). ACIs with multiple dependencies can end up depending on the same base image through multiple paths. In some of those configuration with multiple dependencies, fetching the image via image discovery was not working. This is fixed and a new test ensures it will keep working (). The pod cgroups were misconfigured when systemd-devel is not installed. This was causing per-app CPU and memory isolators to be ineffective on those systems. This is now fixed but will require an additional fix for NixOS (). During the garbage collection of pods (`rkt gc`), all mounts will be umounted even when the pod is in an inconsistent state (, ) New documentation about configure flags (). This also includes formatting and typos fixes and updates. The examples about rkt's configuration files are also clarified (). New documentation explaining (). This should make it easier for software developers to integrate rkt with monitoring software. The API service is meant to be used by orchestration tools like Kubernetes. The performance of the API service was improved by reducing the round-trips in the ListPods and ListImages requests (). Those requests also gained multiple filters for more flexibility

The primary motivation for this release is to add support for fetching images on the Docker Registry 2.0. It also includes other small improvements. docker2aci: support Docker Registry 2.0 () always use https:// when fetching docker images () stage0: add container hash data into TPM () host flavor: fix systemd copying into stage1 for Debian packaging () clarify network error messages () documentation: add more build-time requirements () rkt v0.12.0 is an incremental release with UX improvements like fine-grained security controls and implicit generation of empty volumes, performance improvements, bug fixes and testing enhancements. implement `rkt cat-manifest` for pods () generate an empty volume if a required one is not provided () make disabling security features granular; `--insecure-skip-verify` is now `--insecure-options={feature(s)-to-disable}` (). See rkt's documentation. allow skipping the on-disk integrity check using `--insecure-options=ondisk`. This greatly speeds up start time. () set empty volumes' permissions following the () flannel networking support in kvm flavor () store used MCS contexts on the filesystem () fix Docker images with whiteout-ed hard links () fix Docker images relying on /dev/stdout () use authentication for discovery and trust () fix build in Docker () fix kvm networking () add functional tests for rkt api service () fix TestSocketActivation on systemd-v219 () fix the ACE validator test () Bumped appc spec to 0.7.3 () rkt v0.11.0 is an incremental release with mostly bug fixes and testing improvements. support resuming ACI downloads () `rkt image gc` now also removes images from the store () handle building multiple flavors () verbosity control (, ) fix bugs in `make clean` () nicer output in tests () refactor test code () skip CI tests when the source was not modified () better output when tests fail () fix tests in `10.*` IP range () document how to run functional tests () add some help on how to run rkt as a daemon () do not return manifest in `ListPods()` and `ListImages()` () parameter `--mount` fixed in kvm flavour () fix rkt leaking containers in machinectl on CoreOS (, ) `rkt status` now returns the stage1 pid () fix crash in `rkt status` when an image is removed () fix fd leak in store () fix exec line parsing in ACI manifest () fix build on 32-bit systems () rkt v0.10.0 is an incremental release with numerous bug fixes and a few small new features and UX improvements. added implementation for basic API service (`rkt api-service`) () mount arbitrary volumes with `--mount` (, ) `--net=none` only exposes the loopback interface () better formatting for rkt help () metadata service registration (`--mds-register`) disabled by default () () () () new test for user namespaces (`--private-users`) () fix races in tests () suppress unnecessary output when `--debug` is not used () fix permission of rootfs with overlayfs () allow relative path in parameters () fix pod garbage collection failure in some cases () fix `rkt list` when an image was removed () user namespace (`--private-users`) regression with rkt group fixed () rkt v0.9.0 is a significant milestone release with a number of internal and user-facing changes. There are several notable breaking changes from the previous release: The on-disk format for pod trees has changed slightly, meaning that `rkt gc` and `rkt run-prepared` may not work for pods created by previous versions of rkt. To work around this, we recommend removing the pods with an older version of rkt. The `--private-net` flag has been renamed to `--net` and its semantic has changed (in particular, it is now enabled by default) - see below for

Several changes to CLI output (e.g. column names) from the `rkt list` and `rkt image list` subcommands. The image fetching behaviour has changed, with the introduction of new flags to `rkt run` and `rkt fetch` and the removal of `--local` - see below for details. The `--private-net` flag has been changed to `--net`, and has been now made the default behaviour. (, ) That is, a `rkt run` command will now by default set up a private network for the pod. To achieve the previous default behaviour of the pod sharing the networking namespace of the host, use `--net=host`. The flag still allows the specification of multiple networks via CNI plugins, and overriding plugin configuration on a per-network basis. For more details, see the . When fetching images during `rkt fetch` or `rkt run`, rkt would previously behave inconsistently for different formats (e.g when performing discovery or when retrieving a Docker image) when deciding whether to use a cached version or not. `rkt run` featured a `--local` flag to adjust this behaviour but it provided an unintuitive semantic and was not available to the `rkt fetch` command. Instead, rkt now features two new flags, `--store-only` and `--no-store`, on both the `rkt fetch` and `rkt run` commands, to provide more consistent, controllable, and predictable behaviour regarding when images should be retrieved. For full details of the new behaviour see the . A number of changes were made to the permissions of rkt's internal store to facilitate unprivileged users to access information about images and pods on the system (, ). In particular, the set-group-ID bit is applied to the directories touched by `rkt install` so that the `rkt` group (if it exists on the system) can retain read-access to information about pods and images. This will be used by the rkt API service (targeted for the next release) so that it can run as an unprivileged user on the system. This support is still considered partially experimental. Some tasks like `rkt image gc` remain a root-only operation. If no `/etc/hosts` exists in an application filesystem at the time it starts running, rkt will now provide a basic default version of this file. If rkt detects one already in the app's filesystem (whether through being included in an image, or a volume mounted in), it will make no changes. () rkt now supports setting supplementary group IDs on processes (). rkt's use of cgroups has been reworked to facilitate rkt running on a variety of operating systems like Void and older non-systemd distributions (, , , ) If `rkt run` is used with an image that does not have an app section, rkt will now create one if the user provides an `--exec` flag () A new `rkt image gc` command adds initial support for garbage collecting images from the store (). This removes treeStores not referenced by any non-GCed rkt pod. `rkt list` now provides more information including image version and hash () `rkt image list` output now shows shortened hash identifiers by default, and human readable date formats. To use the previous output format, use the `--full` flag. () `rkt prepare` gained the `--exec` flag, which restores flag-parity with `rkt run` () lkvm stage1 backend has experimental support for `rkt enter` () rkt now supports empty volume types () An early, experimental read-only API definition has been added (,

Fixed bug in `--stage1-image` option which prevented it from using URLs () Fixed bug in `rkt trust`'s handling of `--root` () Fixed bug when decompressing xz-compressed images (, ) In earlier versions of rkt, hooks had an implicit timeout of 30 seconds, causing some pre-start jobs which took a long time to be killed. This implicit timeout has been removed. () When running with the lkvm stage1, rkt now sets `$HOME` if it is not already set, working around a bug in the lkvm tool (, ) Fixed bug preventing `run-prepared` from working if the metadata service was not available () Bumped appc spec to 0.7.1 () Bumped CNI and netlink dependencies () Bumped ioprogress to a version which prevents the download bar from being drawn when rkt is not drawing to a terminal (, ) Significantly reworked rkt's internal use of systemd to orchestrate apps, which should facilitate more granular control over pod lifecycles () Reworked rkt's handling of images with non-deterministically dependencies (, ). rkt functional tests now run appc's ACE validator, which should ensure that rkt is always compliant with the specification. () A swathe of improvements to the build system `make clean` should now work Different rkt stage1 images are now built with different names () rkt can now build on older Linux distributions (like CentOS 6) () Various internal improvements to the functional test suite to improve coverage and consolidate code The "ACI" field header in `rkt image` output has been changed to "IMAGE NAME" `rkt image rm` now exits with status 1 on any failure () Fixed permissions in the default stage1 image () Added documentation for `prepare` and `run-prepared` subcommands () rkt should now report more helpful errors when encountering manifests it does not understand () rkt v0.8.1 is an incremental release with numerous bug fixes and clean-up to the build system. It also introduces a few small new features and UX improvements. New features and UX changes: `rkt rm` is now variadic: it can now remove multiple pods in one command, by UUID The `APPNAME` column in `rkt image list` output has been changed to the more accurate `NAME`. This involves a schema change in rkt's on-disk datastore, but this should be upgraded transparently. Headers are now sent when following HTTP redirects while trying to retrieve an image The default metadata service port number was changed from a registered/reserved IANA port to an arbitrary port in the non-dynamic range Added the ability to override arguments for network plugins rkt will now error out if someone attempts to use `--private-users` with the lkvm backend Bug fixes: Fixed creation of /tmp in apps' root filesystems with correct permissions Fixed garbage collection after umounts (for example, if a system reboots before a pod is cleanly destroyed) Fixed a race in interactive mode when using the lkvm backend that could cause a deadlock or segfault Fixed bad parameter being passed to the metadata service ("uid" -> "uuid") Fixed setting of file permissions during stage1 set up Fixed a potential race condition during simultaneous `iptables` invocation Fixed ACI download progress being sent to stderr instead of stdout, now consistent with the output during retrieval of Docker images `rkt help prepare` will now show the correct default stage1 image rkt will refuse to add isolators with nil Limits, preventing a panic caused by an ambiguity in upstream appc schema Other changes: Reworked the SELinux implementation to use `systemd-nspawn`'s native context-switching feature Added a workaround for a bug in Docker <1.8 when it is run on the same system as rkt

https://github.com/rkt/rkt/issues/1210#issuecomment-132793300) Added a `rkt-xxxx-tapN` name to tap devices that rkt creates Functional tests now clean intermediate images between tests Countless improvements and cleanup to the build system Numerous documentation improvements, including splitting out all top-level `rkt` subcommands into their own documents rkt 0.8.0 includes support for running containers under an LKVM hypervisor and experimental user namespace support. Full changelog: Documentation improvements Better integration with systemd: journalctl -M machinectl {reboot,poweroff} Update stage1's systemd to v222 Add more functional tests Build system improvements Fix bugs with garbage-collection LKVM stage1 support with network and volumes Smarter image discovery: ETag and Cache-Control support Add CNI DHCP plugin Support systemd socket activation Backup CAS database when migrating Improve error messages Add the ability to override ACI exec Optimize rkt startup times when a stage1 is present in the store Trust keys fetched via TLS by default Add the ability to garbage-collect a specific pod Add experimental user namespace support Bugfixes rkt 0.7.0 includes new subcommands for `rkt image` to manipulate images from the local store. It also has a new build system based on autotools and integration with SELinux. Full changelog: New subcommands for `rkt image`: extract, render and export Metadata service: Auth now based on tokens Registration done by default, unless --mds-register=false is passed Build: Remove support for Go 1.3 Replace build system with autoconf and make Network: fixes for plugins related to mnt namespace Signature: clearer error messages Security: Support for SELinux Check signature before downloading Commands: fix error messages and parameter parsing Output: reduce output verbosity Systemd integration: fix stop bug Tests: Improve tests output The highlight of this release is the support of per-app memory and CPU isolators. This means that, in addition to restricting a pod's CPU and memory usage, individual apps inside a pod can also be restricted now. rkt 0.6.1 also includes a new CLI/subcommand framework, more functional testing and journalctl integration by default. Full changelog: Updated to v0.6.1 of the appc spec support per-app memory and CPU isolators allow network selection to the --private-net flag which can be useful for grouping certain pods together while separating others move to the Cobra CLI/subcommand framework per-app logging via journalctl now supported by default stage1 runs an unpatched systemd v220 to help packagers, rkt can generate stage1 from the binaries on the host at runtime more functional tests bugfixes rkt 0.5.6 includes better integration with systemd on the host, some minor bug fixes and a new ipvlan network plugin. Updated to v0.5.2 of the appc spec support running from systemd unit files for top-level isolation support per-app logging via journalctl. This is only supported if stage1 has systemd v219 or v220 add ipvlan network plugin new rkt subcommand: cat-manifest extract ACI in a chroot to avoid malformed links modifying the host filesystem improve rkt error message if the user doesn't provide required volumes fix rkt status when using overlayfs support for some arm architectures documentation improvements rkt 0.5.5 includes a move to network plugins, a number of minor bug fixes and two new experimental commands for handling images: `rkt images` and `rkt

Full changelog: switched to using based network plugins fetch images dependencies recursively when ACIs have dependent images fix the progress bar used when downloading images with no content-length building the initial stage1 can now be done on various versions of systemd support retrying signature downloads in the case of a 202 remove race in doing a rkt enter various documentation fixes to getting started and other guides improvements to the functional testing using a new gexpect, testing for non-root apps, run context, port test, and more rkt 0.5.4 introduces a number of new features - repository authentication, per-app arguments + local image signature verification, port forwarding and more. Further, although we aren't yet guaranteeing API/ABI stability between releases, we have added important work towards this goal including functional testing and database migration code. This release also sees the removal of the `--spawn-metadata-svc` flag to `rkt run`. The flag was originally provided as a convenience, making it easy for users to get started with the metadata service. In rkt v0.5.4 we removed it in favor of explicitly starting it via `rkt metadata-service` command. Full changelog: added configuration support for repository authentication (HTTP Basic Auth, OAuth, and Docker repositories). Full details in `Documentation/configuration.md` `rkt run` now supports per-app arguments and per-image `--signature` specifications `rkt run` and `rkt fetch` will now verify signatures for local image files `rkt run` with `--private-net` now supports port forwarding (using `--port=NAME:1234`) `rkt run` now supports a `--local` flag to use only local images (i.e. no discovery or remote image retrieval will be performed) added initial support for running directly from a pod manifest the store DB now supports migrations for future versions systemd-nspawn machine names are now set to pod UUID removed the `--spawn-metadata-svc` option from `rkt run`; this mode was inherently racy and really only for convenience. A separate `rkt metadata-service` invocation should be used instead. various internal codebase refactoring: "cas" renamed to "store", tasks to encapsulate image fetch operations, etc bumped docker2aci to support authentication for Docker registries and fix a bug when retrieving images from Google Container Registry fixed a bug where `--interactive` did not work with arguments garbage collection for networking is now embedded in the stage1 image when rendering images into the treestore, a global syncfs() is used instead of a per-file sync(). This should significantly improve performance when first extracting large images added extensive functional testing on semaphoreci.com/coreos/rkt added a test-auth-server to facilitate testing of fetching images This release contains minor updates over v0.5.2, notably finalising the move to pods in the latest appc spec and becoming completely name consistent on `rkt`. {Container,container} changed globally to {Pod,pod} {Rocket,rocket} changed globally to `rkt` `rkt install` properly sets permissions for all directories `rkt fetch` leverages the cas.Store TmpDir/TmpFile functions (now exported) to generate temporary files for downloads Pod lifecycle states are now exported for use by other packages Metadata service properly synchronizes access to pod state This release is a minor update over v0.5.1, incorporating several bug fixes and a couple of small new features: `rkt enter` works when overlayfs is not available `rkt run` now supports the `--no-overlay` option referenced (but not implemented!) in the previous release the appc-specified environment variables (PATH, HOME, etc) are once again set correctly during `rkt run` metadata-service no longer manipulates IP tables rules as it connects over a unix socket by default pkg/lock has been improved to also support regular (non-directory) files images in the cas are now locked at runtime (as described in ) This release updates Rocket to follow the latest version of the appc spec, v0.5.1. This involves the major change of moving to pods and Pod Manifests (which enhance and supplant the previous Container Runtime Manifest). The Rocket codebase has been updated across the board to reflect the schema/spec change, as well as changing various terminology in other human-readable places: for example, the previous ambiguous (unqualified) "container" is now replaced everywhere with

This release also introduces a number of key features and minor changes: overlayfs support, enabled for `rkt run` by default (disable with `--no-overlayfs`) to facilitate overlayfs, the CAS now features a tree store which stores expanded versions of images the default stage1 (based on systemd) can now be built from source, instead of only derived from an existing binary distribution as previously. This is configurable using the new `RKTSTAGE1USR_FROM` environment variable when invoking the build script - see fdcd64947 the metadata service now uses a Unix socket for registration; this limits who can register/unregister pods by leveraging filesystem permissions on the socket `rkt list` now abbreviates UUIDs by default (configurable with `--full`) the ImageManifest's `readOnly` field (for volume mounts) is now overridden by the rkt command line a simple debug script (in scripts/debug) to facilitate easier debugging of applications running under Rocket by injecting Busybox into the pod documentation for the metadata service, as well as example systemd unit files First support for interactive containers, with the `rkt run --interactive` flag. This is currently only supported if a container has one app. # Add container IP address information to `rkt list` Provide `/sys` and `/dev/shm` to apps (per spec) Introduce "latest" pattern handling for local image index Implement FIFO support in tar package Restore atime and mtime during tar extraction Bump docker2aci dependency This is primarily a bug fix release with the addition of the `rkt install` subcommand to help people setup a unprivileged `rkt fetch` based on unix users. Fix marshalling error when running containers with resource isolators Fixup help text on run/prepare about volumes Fixup permissions in `rkt trust` created files Introduce the `rkt install` subcommand This release is mostly a milestone release and syncs up with the latest release of the yesterday. Note that due to the introduction of a database for indexing the local CAS, users upgrading from previous versions of Rocket on a system may need to clear their local cache by removing the `cas` directory. For example, using the standard Rocket setup, this would be accomplished with `rm -fr /var/lib/rkt/cas`. Major changes since v0.3.2: Updated to v0.4.0 of the appc spec Introduced a database for indexing local images in the CAS (based on github.com/cznic/ql) Refactored container lifecycle to support a new "prepared" state, to pre-allocate a container UUID without immediately running the application Added support for passing arguments to apps through the `rkt run` CLI Implemented ACI rendering for dependencies Renamed `rkt metadatasvc` -> `rkt metadata-service` Added documentation around networking, container lifecycle, and rkt commands This release introduces much improved documentation and a few new features. The highlight of this release is that Rocket can now natively run Docker images. To do this, it leverages the appc/docker2aci library which performs a straightforward conversion between images in the Docker format and the appc format. A simple example: ``` $ rkt --insecure-skip-verify run docker://redis docker://tenstartups/redis-commander rkt: fetching image from docker://redis rkt: warning: signature verification has been disabled Downloading layer: 511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158 ``` Note that since Docker images do not support image signature verifications, the `-insecure-skip-verify` must be used. Another important change in this release is that the default location for the stage1 image used by `rkt run` can now be set at build time, by setting the `RKTSTAGE1IMAGE` environment variable when invoking the build script. (If this is not set, `rkt run` will continue with its previous behaviour of looking for a stage1.aci in the same directory as the binary

This makes it easier for distributions to package Rocket and include the stage1 wherever they choose (for example, `/usr/lib/rkt/stage1.aci`). For more information, see https://github.com/coreos/rocket/pull/520 The primary motivation for this release is to resynchronise versions with the appc spec. To minimise confusion in the short term we intend to keep the major/minor version of Rocket aligned with the version of spec it implements; hence, since yesterday v0.3.0 of the appc spec was released, today Rocket becomes v0.3.1. After the spec (and Rocket) reach v1.0.0, we may relax this restriction. This release also resolves an upstream bug in the appc discovery code which was causing rkt trust to fail in certain cases. This is largely a momentum release but it does introduce a few new user-facing features and some important changes under the hood which will be of interest to developers and distributors. First, the CLI has a couple of new commands: `rkt trust` can be used to easily add keys to the public keystore for ACI signatures (introduced in the previous release). This supports retrieving public keys directly from a URL or using discovery to locate public keys - a simple example of the latter is `rkt trust --prefix coreos.com/etcd`. See the commit for other examples. `rkt list` is an extremely simple tool to list the containers on the system As mentioned, v0.3.0 includes two significant changes to the Rocket build process: Instead of embedding the (default) stage1 using go-bindata, Rocket now consumes a stage1 in the form of an actual ACI, containing a rootfs and stage1 init/exec binaries. By default, Rocket will look for a `stage1.aci` in the same directory as the location of the binary itself, but the stage1 can be explicitly specified with the new `-stage1-image` flag (which deprecates `-stage1-init` and `-stage1-rootfs`). This makes it much more straightforward to use alternative stage1 images with rkt and facilitates packing it for different distributions like Fedora. Rocket now vendors a copy of the appc/spec instead of depending on HEAD. This means that Rocket can be built in a self-contained and reproducible way and that master will no longer break in response to changes to the spec. It also makes explicit the specific version of the spec against which a particular release of Rocket is compiled. As a consequence of these two changes, it is now possible to use the standard Go workflow to build the Rocket CLI (e.g. `go get github.com/coreos/rocket/rkt` will build rkt). Note however that this does not implicitly build a stage1, so that will still need to be done using the included ./build script, or some other way for those desiring to use a different stage1. This introduces countless features and improvements over v0.1.1. Highlights include several new commands (`rkt status`, `rkt enter`, `rkt gc`) and signature validation. The most significant change in this release is that the spec has been split into its own repository (https://github.com/appc/spec), and significantly updated since the last release - so many of the changes were to update to match the latest spec. Numerous improvements and fixes over v0.1.0: Rocket builds on non-Linux (in a limited capacity) Fix bug handling uncompressed images More efficient image handling in CAS mkrootfs now caches and GPG checks images stage1 is now properly decoupled from host runtime stage1 supports socket activation stage1 no longer warns about timezones cas now logs download progress to stdout rkt run now acquires an exclusive lock on the container directory and records the PID of the process tons of documentation improvements added actool introduced along with documentation image discovery introduced to rkt run and rkt fetch Initial release.