Sudo password docker image

97 views
Skip to first unread message

João Pedro

unread,
Mar 15, 2016, 6:40:47 AM3/15/16
to OpenSTF
Can you provide sudo password for openstf/stf docker image ? 

João Silva

Simo Kinnunen

unread,
Mar 15, 2016, 6:46:21 AM3/15/16
to João Pedro, OpenSTF
That's not how it works. You can use this on a new container:

    docker run -ti --rm -u root openstf/stf:latest whoami

Or this if you need to access a running container:

    docker exec -ti -u root e7d6be21a675 whoami

Where e7d6be21a675 is the container ID, and whoami is just an easy command to show the current user. Use sh or bash instead if you need shell.

On Tue, Mar 15, 2016 at 7:40 PM, João Pedro <joped...@gmail.com> wrote:
Can you provide sudo password for openstf/stf docker image ? 

João Silva

--
You received this message because you are subscribed to the Google Groups "OpenSTF" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openstf+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openstf/e491dccb-58e8-40f5-afaf-b2aecdf292fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

João Pedro

unread,
Mar 15, 2016, 8:46:28 AM3/15/16
to OpenSTF
Thanks, simo
Reply all
Reply to author
Forward
0 new messages