DockStation / dockstation

DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
https://dockstation.io/
2.14k stars 106 forks source link

Custom arguments for docker exec command #195

Open rorych opened 5 years ago

rorych commented 5 years ago

In the "Preference" settings, there is a field for "Custom Args". Arguments added there, are added before the docker exec command.

As you explained, this option is for users who do not use the standard terminal (like Terminator, iterm2, etc...).

We would now like to ask for another input field, to add Options after the docker exec command. As an example, to add the --user option, to change to a specific user, after the console connects.

Goal would be, to create a command like this, by using the "exec" icon on a container: docker exec -it -u apache containername bash

igor-lemon commented 5 years ago

Hi @rorych

Thanks for the issue! I think we'll add the possibility to tune Exec command arguments for each service.