Run Docker container as ordinary user

21 views
Skip to first unread message

Sinead Eliade

unread,
Jul 14, 2015, 9:17:49 AM7/14/15
to ansible...@googlegroups.com
I would like to run a docker container from an ordinary user (not root).

  - name: Install ipython/scipyserver
    remote_user marcel
    docker:
      name: mycontainer
      image: ipython/scipyserver
      state: reloaded
      pull: always

But when I look the processus (ps aux) I see that the docker processus still belongs to root and not to marcel.

Any help is welcome.


Igor Cicimov

unread,
Jul 14, 2015, 7:41:53 PM7/14/15
to ansible...@googlegroups.com
sudo: false
Reply all
Reply to author
Forward
0 new messages