[JIRA] (JENKINS-54296) Docker cannot be used right after agent provisioning without sudo

6 views
Skip to first unread message

batmat@batmat.net (JIRA)

unread,
Oct 28, 2018, 5:03:02 PM10/28/18
to jenkinsc...@googlegroups.com
Baptiste Mathus assigned an issue to Baptiste Mathus
 
Jenkins / Bug JENKINS-54296
Docker cannot be used right after agent provisioning without sudo
Change By: Baptiste Mathus
Assignee: R. Tyler Croy Baptiste Mathus
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

batmat@batmat.net (JIRA)

unread,
Oct 28, 2018, 5:03:03 PM10/28/18
to jenkinsc...@googlegroups.com
Baptiste Mathus created an issue
Issue Type: Bug Bug
Assignee: R. Tyler Croy
Components: evergreen
Created: 2018-10-28 21:02
Labels: evergreen docker
Priority: Major Major
Reporter: Baptiste Mathus

Problem statement

Though the user is configured to have the necessary permissions to not require sudo to use docker, it does not work.

The workaround is to manually disconnect, then reconnect the agent. This is because the script is run in the connecting session, then no logout/login is performed.

Expected behavior

docker should be usable right away after agent provisioning.

Though we could require users to use sudo, this is likely a major hurdle since users (like evergreen codebase) itself will probably have scripts that run docker without sudo (and as a simple alias won't be enough, then we'd move more and more away from keeping Evergreen simple to use)

domi@fortysix.ch (JIRA)

unread,
Oct 30, 2018, 4:30:03 AM10/30/18
to jenkinsc...@googlegroups.com
Dominik Bartholdi commented on Bug JENKINS-54296
 
Re: Docker cannot be used right after agent provisioning without sudo

I worked around this by setting up my own AMI where docker is already installed

batmat@batmat.net (JIRA)

unread,
Jan 24, 2019, 5:24:02 AM1/24/19
to jenkinsc...@googlegroups.com

batmat@batmat.net (JIRA)

unread,
Feb 12, 2019, 8:41:02 AM2/12/19
to jenkinsc...@googlegroups.com

gothatwiid@gmail.com (JIRA)

unread,
Jun 5, 2019, 7:58:03 AM6/5/19
to jenkinsc...@googlegroups.com
Got Wiid started work on Bug JENKINS-54296
 
Change By: Got Wiid
Status: Open In Progress

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Jun 5, 2019, 9:27:02 AM6/5/19
to jenkinsc...@googlegroups.com
Baptiste Mathus assigned an issue to Unassigned
Change By: Baptiste Mathus
Assignee: Baptiste Mathus

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Jun 5, 2019, 9:27:02 AM6/5/19
to jenkinsc...@googlegroups.com
Baptiste Mathus stopped work on Bug JENKINS-54296
 
Change By: Baptiste Mathus
Status: In Progress Open
Reply all
Reply to author
Forward
0 new messages