Page MenuHomeDevCentral

Create docker group on Dwellers
ClosedPublic

Authored by dereckson on Feb 17 2020, 02:00.
Tags
None
Referenced Files
F3774009: D2221.id5585.diff
Sun, Nov 24, 09:15
F3773831: D2221.id5588.diff
Sun, Nov 24, 08:40
F3773780: D2221.id5587.diff
Sun, Nov 24, 08:27
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
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 Not Applicable
Unit
Tests Not Applicable

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.