Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Add apparmor package before installing docker #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

imranity
Copy link

This was causing problems when i tried to set test jobs that ran docker commands.
A sample job that ran bash script involving couple of docker commands just to see if my job can run docker commands, failed.
When I checked inside my container - the output of docker -d , it failed to launch daemon with error message saying:
apparmor_parser : no such file or directory.
so after doing apt-get install apparmor and re launching the daemon, jenkins job ran docker commands fine :)
if apparmor is installed during image build, this issue wont happen again :D cheers.

This was causing problems when i tried to set test jobs that ran docker commands. 
A sample job that ran bash script involving couple of docker commands just to see if my job can run docker commands, failed.
When I checked inside my container - the output of `docker -d` , it failed to launch daemon with error message saying: 
`apparmor_parser : no such file or directory `. 
so after doing `apt-get install apparmor` and re launching the daemon, jenkins job ran docker commands fine :)
if apparmor is installed during image build, this issue wont happen again :D cheers.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant