Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Releases: clearcontainers/runtime

Release 3.0.3

18 Oct 18:58
Compare
Choose a tag to compare

3.0.3

Release 3.0.3

Changes

  • Release 3.0.3
  • go 1.9 go vet fixes
  • oci: Support containers with identical ID prefixes
  • Makefile: Fix copy paste error in hypervisor debug
  • versions: update image to 18220
  • CI: remove tests from run.sh script
  • main: coredump on internal error
  • vendor: Update virtcontainers vendoring
  • scripts: Fix shim log checking for data collection script
  • Configuration: Huge pages support
  • Configuration: Provide an option to disable nesting customization
  • Add shim to data collection script
  • tests: switch to test copyParentCPUSet under tmpDir
  • vendor: Update virtcontainers, ciao and logrus vendorings
  • logger: Display timezone as offset
  • scripts: Add proxy problems to cc-collect-data output
  • makefile: Fix installation scripts

Shortlog

6722bc4 release: 3.0.3
2c9d636 Workaround: dep does not pull in correct dependencies
4b906d5 go vet: Fix errors detected by go 1.9
8bc61b3 Revendor: testify needs to be updated to pass go vet
89a00f0 oci: Support containers with identical ID prefixes
ca44e22 Makefile: Fix copy paste error in hypervisor debug
cdcf851 versions: update image to 18220
98f9def CI: remove tests from run.sh script
8aabf7c main: coredump on internal error
c4e8bf5 vendor: Update virtcontainers vendoring
80557b3 scripts: Fix shim log checking for data collection script
bc32914 Configuration: Huge pages support
bffd682 Configuration: Provide an option to disable nesting customizations
bfc2752 scripts: Add shim logs to data collection script
70bcd91 scripts: Refactor system journal code in data collection script
c6efaf6 scripts: Added more problem regexes to data collection script
dad00e7 scripts: Sort problem regex in data collection script
7f2a114 tests: switch to test copyParentCPUSet under tmpDir
2fda4af vendor: Update virtcontainers, ciao and logrus vendorings
99455b6 logger: Display timezone as offset
8f13479 scripts: Add proxy problems to cc-collect-data output
222bae7 makefile: Fix scirpts installation

Compatibility with Docker

Clear Containers 3.0.3 is compatible with Docker v17.06-ce

OCI Runtime Specification

Clear Containers 3.0.3 support the OCI Runtime Specification v1.0.0-rc5

Clear Linux Containers image

Clear Containers 3.0.3 requires at least Clear Linux containers image 18220

Clear Linux Containers Kernel

Clear Containers 3.0.3 requires at least Clear Linux Containers kernel v4.9.47-77.container

Installation

Issues & limitations

Networking

Adding networks dynamically

Resource management

docker run --cpus=

See issue #341 for more information.

docker run --kernel-memory=

See issue #388 for more information.

shm

cgroup constraints

Capabilities

See issue #51 for more information.

sysctl

tmpfs

Other

checkpoint and restore

docker stats

See issue #200 for more information.

runtime commands

ps command

See issue #95 for more information.

events command

See issue #379 for more information.

update command

See issue #380 for more information.

Networking

Support for joining an existing VM network

docker --net=host

docker run --link

Host resource sharing

docker --device

docker -v /dev/...

docker run --privileged

Other

Annotations

runtime commands

init command

spec command

More information Limitations

Release 3.0.2

04 Oct 21:47
Compare
Choose a tag to compare

Release 3.0.2

Changes

In this release the following changes has been done: the list command now has columns to extended output to show stale assets. The script cc-collect-data.sh now provides help. Fixed issue about write cgroup no space left. The log output now uses structured logging for easy parsing. Added documentation to get kernel logs from Clear Containers VM.

  • tests: Only pull docker test image if not available locally
  • list: Add columns to extended output to show stale assets
  • Add usage to collect script
  • docs: Add Clear Linux installation guide.
  • fix write cgroup no space left
  • readme: Update build badges
  • logging: Switch to structured logging
  • Docs: Add documentation for obtaining VM Kernel logs

Shortlog

80f5652 tests: Only pull docker test image if not available locally
a873834 list: Add columns to extended output to show stale assets
ec18d09 scripts: Add usage to collect script
b72b2bd scripts: Make collect script error if runtime not found
727f01e docs: Add Clear Linux installation guide.
49cdfd1 cgroups: set value for cpuset if it's empty
6914d2b readme: Update build badges
d352850 logging: Switch to structured logging
37db7c0 Docs: Add documentation for obtaining VM Kernel logs

Compatibility with Docker

Clear Containers 3.0.2 is compatible with Docker v17.06-ce

OCI Runtime Specification

Clear Containers 3.0.2 support the OCI Runtime Specification v1.0.0-rc5

Clear Linux Containers image

Clear Containers 3.0.2 requires at least Clear Linux containers image 17270

Clear Linux Containers Kernel

Clear Containers 3.0.2 requires at least Clear Linux Containers kernel v4.9.47-77.container

Installation

Issues & limitations

Networking

Adding networks dynamically

Resource management

docker run --cpus=

See issue #341 for more information.

docker run --kernel-memory=

See issue #388 for more information.

shm

cgroup constraints

Capabilities

See issue #51 for more information.

sysctl

tmpfs

Other

checkpoint and restore

docker stats

See issue #200 for more information.

runtime commands

ps command

See issue #95 for more information.

events command

See issue #379 for more information.

update command

See issue #380 for more information.

Networking

Support for joining an existing VM network

docker --net=host

docker run --link

Host resource sharing

docker --device

docker -v /dev/...

docker run --privileged

Other

Annotations

runtime commands

init command

spec command

More information Limitations

Release 3.0.1

27 Sep 22:08
Compare
Choose a tag to compare

Release 3.0.1

Summary

  • cc-check sub-command now run all the tests to do a extensive check of possible limitations to run Clear Containers.
  • The runtime code coverage was was increased.
  • The developers documentation now describe how to build a kernel for Clear Containers.

Changes

  • cc-check: Always run all tests
  • build: Fix config file warning message
  • list: Ensure "--cc-all" details are correct
  • refactor: simplify code to return the fastpath first
  • Unbreak gofmt
  • process: Add github issue template
  • paths: Resolve paths earlier
  • Improve collect data script
  • build: Show version of go
  • tests: Increase unit test timeout
  • Revert "Merge pull request #587 from mcastelino/topic/govet"
  • Fix go vet issues flagged by go 1.9
  • docs: developers: how to build custom kernel
  • scripts: Create script to gather environment details
  • readme: Update CI badges
  • .ci: Remove Travis and add unit testing to all CI

Shortlog

413e2ed cc-check: Only warn if nesting not available
c761552 cc-check: Always run all tests
6ec4ecd build: Fix config file warning message
b629d80 list: Ensure "--cc-all" details are correct
1378b68 refactor: simplify code to return the fastpath first
fc87e7b tests: Fix gofmt and ineffassign issues
2212ef7 CI: Unbreak gofmt logic
651cfb3 process: Add github issue template
2c1ce71 paths: Resolve paths earlier
16b1dae scripts: Improve formatting in cc-collect-data.sh
53bd495 scripts: Simpify main function in cc-collect-data.sh
08ed990 scripts: Rename Meta heading in cc-collect-data.sh
57f2500 scripts: Use more punctuation in cc-collect-data.sh
6a7fc90 scripts: Add more patterns to cc-collect-data.sh
541fe44 scripts: Add more patterns to cc-collect-data.sh
1c7d20c build: Generate cc-collect script
ffe6ccf build: Generalise ".in" file rule
9280a6b build: Show version of go
1bde169 tests: Increase unit test timeout
d4954bc Revert: Undo "Merge pull request #587 from mcastelino/topic/govet"
5213667 go vet: Fix issues detected by go vet in go 1.9
acecd7b Revendor: Revendor testify to fix go vet
3d07c40 docs: developers: how to build custom kernel
c8fc271 scripts: Create script to gather environment details
062522d readme: Update CI badges
fb10a0e .ci: Remove travis and add unit testing to Jenkins

Compatibility with Docker

Clear Containers 3.0.1 is compatible with Docker v17.06-ce

OCI Runtime Specification

Clear Containers 3.0.1 support the OCI Runtime Specification v1.0.0-rc5

Clear Linux Containers image

Clear Containers 3.0.1 requires at least Clear Linux containers image 17270

Clear Linux Containers Kernel

Clear Containers 3.0.1 requires at least Clear Linux Containers kernel v4.9.47-77.container

Installation

Issues & limitations

Networking

Adding networks dynamically

Resource management

docker run --cpus=

See issue #341 for more information.

docker run --kernel-memory=

See issue #388 for more information.

shm

cgroup constraints

Capabilities

See issue #51 for more information.

sysctl

tmpfs

Other

checkpoint and restore

docker stats

See issue #200 for more information.

runtime commands

ps command

See issue #95 for more information.

events command

See issue #379 for more information.

update command

See issue #380 for more information.

Networking

Support for joining an existing VM network

docker --net=host

docker run --link

Host resource sharing

docker --device

docker -v /dev/...

docker run --privileged

Other

Annotations

runtime commands

init command

spec command

More information Limitations

Release 3.0.0

20 Sep 16:12
Compare
Choose a tag to compare

Release 3.0.0

Changes

Upgrading from Clear Containers 2.2

We documented the upgrade path from Clear Containers 2.2 to
Clear Containers 3.0.

Shortlog

2de68f7 Config: Fix unit test case failures
902dbdb Debug: Enable debug logs from Hypervisor and Container Kernel
448ada3 Advanced VM Controls: Memory allocation and swap
3147bfa Configuration: Enable support for memory pre-allocation
42f25f1 versions.txt: Update kernel and image versions
35575f8 config: Support a stateless system
25debc6 docs: Document guest kernel and mini O/S in arch doc
36e7eba docs: Whitespace change.
d30e232 vendor: Pull latest virtcontainers and ciao/qemu changes
c4dd796 build: Install bash completions below DESTDIR
a11df0b check: Fix golint errors.
f607052 tests: Improve unit-test coverage for oci.go
2e9a615 docs: arch: Add Clear Containers 3.0 architecture documentation
10730ba scripts: Add bash tab completion script
3d11756 docs: Remove one level of backticks in dev guide
a9b6e82 docs: Improve wording in dev install guide
e283610 docs: Reference the upgrade doc
a1d9414 docs: Add an upgrading doc
44fb418 main: Avoid duplication in makeVersionString()
b0e8112 docs: Add link to install guides in README
eac5596 vendor: virtcontainers 1.0
5bd48c1 tests: Update unit test to work with latest virtcontianers
019fe2f Makefile: Generate config file for tests as well
758ee9a oci: Follow the OCI spec for cgroup paths
155f374 docs: Create CentOS 7 installation guide
c5bf186 docs: Reference the code of conduct doc in the contributing doc
72f8a2c main: Rename non-standard cli commands
14cae77 main: Sort list of cli commands
098d7bd cc-env: Add hypervisor version to output
41abb89 tests: Simplify makeRuntimeConfig
fd832ee build: Ensure version details correct for system build
9c7e399 vendor: Update virtcontainers and ciao vendoring.
ac4ad99 docs: Add agent details to the dev install guide
37a9129 docs: Add "See Also" section in dev install guide
2faebf2 docs: Correct dev install guide code block indent
2a941d1 docs: Correct heading levels in dev install guide
73fee56 docs: Improve developers installation guide
b9392f3 scripts: relnotes: fix /bin/bash line
5de31f0 scripts: relnotes: fix path to limitations.md
ce50ee1 scripts: relnotes: Add reminder to fixup Changes section
311517d docs: Create CODE_OF_CONDUCT.md
33d044b docs: Update limitations doc for --cpus
336d3a4 docs: Remove "docker run -m" from limitations doc
8c8b651 tests: Increase unit-test coverage for main.go
4d85e34 tests: Added missing file header.
797518a main: Simplify main()
4013a7f main: Be explicit if version details cannot be determined
31d915d main: Use function to generate version string
f112d4a main: Display more meaningful message on unknown command
4018a0f main: Add varabies for cli flags, commands and before func
b278bfa main: Introduce defaultErrorFile
d08eb02 main: Fix comments.
c252ad9 docs: Remove call to groupadd

Compatibility with Docker

Clear Containers 3.0.0 is compatible with Docker v17.06-ce

OCI Runtime Specification

Clear Containers 3.0.0 support the OCI Runtime Specification v1.0.0-rc5

Clear Linux Containers image

Clear Containers 3.0.0 requires at least Clear Linux containers image 17270

Clear Linux Containers Kernel

Clear Containers 3.0.0 requires at least Clear Linux Containers kernel v4.9.47-77.container

Installation

Issues & limitations

See the Limitations document.

Release 3.0.0-beta.2

01 Sep 20:35
Compare
Choose a tag to compare
Release 3.0.0-beta.2 Pre-release
Pre-release

Release 3.0.0-beta.2

Changes

  • tests: increase run.go code coverage
  • tests: increase code coverage in console.go
  • tests: Only re-run unit-tests if not initially running as root
  • scripts: Move release_notes.sh to scripts
  • Update dev install guide
  • Unit tests for exec.go
  • .ci: Fix runtime CI scripts to work with Jenkins
  • tests: Increase unit-test coverage on create.go
  • tests: Run unit tests as root and non-root.
  • tests: Increase oci.go unit-test coverage
  • vendor: Update virtcontainers vendoring for updated StatusToOCIState
  • Make run tests use cached bundle
  • tests: add unit tests for state.go
  • pause: Implement full unit test coverage
  • kill: Implement full unit test coverage
  • tests: add unit tests for run.go
  • tests: Add tests for delete using mock framework
  • tests: Increase unit-test coverage for list.go
  • tests: Stop bundle creation timing out tests
  • tests: Add unit tests for start.go
  • Increase create test coverage
  • tests: Rework OCI helper functions
  • config: Add comment about ncpus >0 <=255
  • state: Apply indentation to the state output.
  • tests: Add helper functions
  • test: add unit test for console Read and Write
  • test: add unit test for isCgroupMounted function
  • tests: switchable virtcontainers implementation
  • vendor: Update virtcontainers vendoring for vcMock
  • cc-check: warn if unrestricted_guest unavailable under hypervisor
  • build: rebuild if git HEAD changed
  • vendor: Update virtcontainers vendoring
  • Docs: Add how to get agent debug logs.
  • pause: Rewrite pause binary in go.
  • docs: Remove references to alpha version
  • docs: Update instruction to download compressed kernel
  • docs : Automate release notes

Shortlog

744f499 tests: increase run.go code coverage
b6ae359 tests: increase code coverage in console.go
fa25a03 tests: Only re-run unit-tests if not initially running as root
d17f710 scripts: Move release_notes.sh to scripts
b9f64a1 docs: Add more detail for gcc requirement
a96de62 docs: Remove requirement to have glibc-static installed
75014c0 tests: Add unit tests for exec.go
39c0a3b tests: Change newSingleContainerPodStatusList to include annotations
0cd9403 cli: Check for empty string for cli flag "process" in exec.go
5d56643 .ci: Fix runtime CI scripts to work with Jenkins
776ad37 tests: Increase unit-test coverage on create.go
4b3524e tests: Run unit tests as root and non-root.
4433de5 tests: Increase oci.go unit-test coverage
5bd0bce vendor: Update virtcontainers vendoring for updated StatusToOCIState
9ff688b tests: Make testRunContainerSetup() call makeOCIBundle()
200ef77 tests: Use specConfig rather than "config.json"
9df259b tests: Improve comments.
3e776d1 tests: add unit tests for state.go
540d517 pause: Implement full unit test coverage
4b38fc3 kill: Implement full unit test coverage
7af81a1 tests: add unit tests for run.go
1a8505d tests: Add tests for delete using mock framework
e487ab4 tests: Increase unit-test coverage for list.go
de7cb39 tests: Stop bundle creation timing out tests
b5b6085 tests: Add unit tests for start.go
d9413e7 tests: Increase unit-test coverage on create.go
2cac62a create: Remove redundant code.
b9a4d2f tests: Rework OCI helper functions
9b3b85f config: Add comment about ncpus >0 <=255
29e3d90 state: Apply indentation to json output from state cmd.
f2e6d08 tests: Add helper functions
2a5018a test: add unit test for console Read and Write
b4cd8fe tests: use testify to write unit tests
a143831 test: add unit test for isCgroupMounted function
1c7cbf4 tests: use testify in oci_test.go
15b879e tests: switchable virtcontainers implementation
9cfcc37 vendor: Update virtcontainers vendoring for vcMock
7e749ef cc-check/tests: Switch to using assert object.
ef5bb29 cc-check: warn if unrestricted_guest unavailable under hypervisor
16cab3d build: rebuild if git HEAD changes
839b484 vendor: Update virtcontainers vendoring
edf1261 Docs: Add how to get agent debug logs.
9f3ca75 pause: Rewrite pause binary in go.
93b127d docs: Remove references to alpha version
44edd61 docs: Update instruction to download compressed kernel
4674607 docs : Automate release notes

Compatibility with Docker

Clear Containers 3.0.0-beta.2 is compatible with Docker v17.06-ce

OCI Runtime Specification

Clear Containers 3.0.0-beta.2 support the OCI Runtime Specification v1.0.0-rc5

Clear Linux Containers image

Clear Containers 3.0.0-beta.2 requires at least Clear Linux containers image 16910

Clear Linux Containers Kernel

Clear Containers 3.0.0-beta.2 requires at least Clear Linux Containers kernel v4.9.35-76.container

Installation

Issues & limitations

More information Limitations

Release 3.0.0-beta.1

14 Aug 19:28
Compare
Choose a tag to compare
Release 3.0.0-beta.1 Pre-release
Pre-release

Changes since 3.0.0-alpha.5

runtime:

Switch to the new agent

Clear Containers VM now uses a new VM-agent. The VM-agent allows to spawn processes on behalf of
pod/container(s) running inside the virtual machine. The runtime now uses Clear Containers Agent by default.The Clear Containers Agent relies heavily on libcontainer used by runc (standard to run containers on bare metal).

QEMU machine type change

Switched from pc-lite to pc machine type. In the long term we are looking to move to an upstream-QEMU supplied machine type which includes some of the optimizations that were made for Clear Containers. In the short term we have encountered issues around functional support of PCI hotplug and vhost-user support in pc-lite, so made the decision to move to pc while we await a fully supported upstream option. As a result of this change, the runtime is now booting using a compressed kernel (vmlinuz).

docs:

Added Document limitations.

config:

Added support kernel parameters

build:

Configuration file depends on build variables

Shortlog

687b420 runtime: Switch to the new agent
8a38fa7 qemu: Move from pc-lite to pc machine type
56e96d3 docs: Document limitations.
528772f config: support kernel parameters
2c456d7 build: configuration file depends on build variables

Compatibility with Docker

Clear Containers 3.0.0-beta.1 is compatible with Docker v17.06-ce

OCI Runtime Specification

Clear Containers 3.0.0-beta.1 support the OCI Runtime Specification 1.0.0-rc5

Clear Linux Containers image

Clear Containers 3.0.0-beta.1 requires at least Clear Linux containers image 16910

Clear Linux Containers Kernel

Clear Containers 3.0.0-beta.1 requires at least Clear Linux Containers kernel v4.9.34-clear-containers

Installation

Issues & limitations

Limitations