Page MenuHomeDevCentral

Create docker group on Dwellers
ClosedPublic

Authored by dereckson on Feb 17 2020, 02:00.
Tags
None
Referenced Files
F3773353: D2221.diff
Sun, Nov 24, 06:50
Unknown Object (File)
Tue, Nov 19, 13:29
Unknown Object (File)
Tue, Nov 19, 13:03
Unknown Object (File)
Tue, Nov 19, 05:09
Unknown Object (File)
Tue, Nov 19, 05:00
Unknown Object (File)
Mon, Nov 18, 18:18
Unknown Object (File)
Mon, Nov 18, 12:13
Unknown Object (File)
Mon, Nov 18, 12:13
Subscribers
None

Details

Summary

On Docker development server, allow to manage
Docker as a non-root user for operations members.

That avoids to prepend each command with sudo.

Ref T1595.

Test Plan

docker ps on Dwellers

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
docker-group (branched from master)
Build Status
Buildable 3441
Build 3690: arc lint + arc unit

Event Timeline

dereckson created this revision.
$ salt dwellers state.sls roles/paas-docker/devel
dwellers:
----------
          ID: docker_group
    Function: group.present
        Name: docker
      Result: True
     Comment: The following group attributes are set to be changed:
              members: ['dereckson', 'sandlayth']
     Started: 02:07:57.678065
    Duration: 330.523 ms
     Changes:
              ----------
              Final:
                  All changes applied successfully

$ ssh dwellers docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
This revision is now accepted and ready to land.Feb 17 2020, 06:33
This revision was automatically updated to reflect the committed changes.