From b6da8492f76cb7e48013ac3708a26d7394f15eec Mon Sep 17 00:00:00 2001 From: Vasu1105 Date: Wed, 10 Mar 2021 11:51:22 +0530 Subject: [PATCH] Updated README for docker transport user option Signed-off-by: Vasu1105 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0e7f74e78..132f26f93 100644 --- a/README.md +++ b/README.md @@ -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**