docker "Create terminal" option with parameters

Is there a way to use the `Create terminal` button with parameters, as user, f.e.:

    docker exec -u 0 -it bash

I wasn't able to find either an option to modify the `Create terminal` option, using exec doesn't work too with parameters like:

    -u 0 -it bash

0

Unfortunately, there's no way to achieve that. Do I get it right that your primary objective here is to log on as root?
If so, please vote for the following issue:

https://youtrack.jetbrains.com/issue/IDEA-287796/Docker-Create-Terminal-as-root-user

0

Exactly what I'm looking for.

0

请先登录再写评论。