Skip to content

env container=docker for debians, ext #192#216

Merged
coderanger merged 1 commit intotest-kitchen:masterfrom
cruwe:env_docker=container_for_debians
Jul 19, 2016
Merged

env container=docker for debians, ext #192#216
coderanger merged 1 commit intotest-kitchen:masterfrom
cruwe:env_docker=container_for_debians

Conversation

@cruwe
Copy link
Copy Markdown
Contributor

@cruwe cruwe commented Jun 24, 2016

When running /sbin/init from systemd in debian:stretch (recent, unable
to determine since when), it is necessary to include the enviroment
variable container=docker in the Dockerfiles. This is essentially the
same as for recent CentOSes as previously fixed in #192.

Tests with ubuntu-14.04 have shown no hurts and I strongly suspect the
same for other debian-based images.

modified:   lib/kitchen/driver/docker.rb

When running /sbin/init from systemd in debian:stretch (recent, unable
to determine since when), it is necessary to include the enviroment
variable container=docker in the Dockerfiles. This is essentially the
same as for recent CentOSes as previously fixed in test-kitchen#192.

Tests with ubuntu-14.04 have shown no hurts and I strongly suspect the
same for other debian-based images.

	modified:   lib/kitchen/driver/docker.rb
@coderanger coderanger merged commit 6f00783 into test-kitchen:master Jul 19, 2016
@coderanger
Copy link
Copy Markdown
Contributor

Thanky! We should probably just set it for all images but this is better for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants