Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

add group docker compose

version: '2.1'
services:
    my-worker:
        image: workers/data-handler:1.0.2
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
        group_add:
            - 994 #docker group id
        command: run
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #group #docker #compose
ADD COMMENT
Topic
Name
9+6 =