Skip to content

Commit

Permalink
Updated README for docker transport user option
Browse files Browse the repository at this point in the history
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
  • Loading branch information
Vasu1105 committed Mar 10, 2021
1 parent 6b47e36 commit b6da849
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ train = Train.create('winrm',
require 'train'
train = Train.create('docker', host: 'container_id...')
```
You can use `user` option to connect with privileged user on non root user images.

```ruby
require 'train'
train = Train.create('docker', host: 'container_id...', user: 'root')
```

**AWS**

Expand Down

0 comments on commit b6da849

Please sign in to comment.