Editing the Docker command line

已回答

Pycharm does not have a way to edit and change all command line options when debugging and running a docker container.

We set a docker interpreter in our pycharm on windows to run dockers on our linux server but would like to add various command line parameters when the docker is launched. Currently in Edit Configurations we are able to add volume bindings, environment variables, port bindings etc but there doesn't seem to be an option to add generic parameters.

Is there a way to actually edit the command line for the docker run command?

The best option would be to expose the command line for editing. We would like for instance to add the user the docker is running inside, expose additional capabilities (--cap-add option) and various other control options to the docker run command.

2

请先登录再写评论。