Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
make sure the ubuntu user can run docker commands
Browse files Browse the repository at this point in the history
Signed-off-by: Jason McCallister <jason@craftcms.com>
  • Loading branch information
jasonmccallister committed Mar 30, 2020
1 parent 8116e00 commit 538bccd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions command/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ runcmd:
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update -y
- sudo apt install -y nginx docker-ce docker-ce-cli containerd.io
- sudo usermod -aG docker ubuntu
`

type InitCommand struct {
Expand Down

0 comments on commit 538bccd

Please # to comment.