formulahendry / vscode-docker-explorer

Docker Explorer for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=formulahendry.docker-explorer
MIT License
48 stars 20 forks source link

Add more common docker commands to context menu #7

Open batjko opened 7 years ago

batjko commented 7 years ago

e.g.

I'm sure there are a bunch more that people will find useful.

formulahendry commented 7 years ago

For (both ad-hoc and tailing) of viewing logs, could you explain the difference of ad-hoc and tailing?

batjko commented 7 years ago

@formulahendry Thanks for responding so quickly. The difference is that ad-hoc would just give you the logs and exit. Tailing would be like a watched process that updates live when there are new log entries added.

Sub-Xaero commented 7 years ago

+1, really appreciate these features. Could I also extend this request to include the docker exec ${containerName} ${command) functionality?

formulahendry commented 7 years ago

docker exec ${containerName} ${command)

@Sub-Xaero , what ${command) do you want to run?

Sub-Xaero commented 7 years ago

Any Linux command really: ls, cat, touch. I.e. When running a server, and wanting to quickly get the contents of the document root: Docker exec wilful_barabus ls /var/www/html should print the contents of the document root; without attaching to the container.

On 26 Jun 2017, at 03:35, Jun Han notifications@github.com wrote:

docker exec ${containerName} ${command)

@Sub-Xaero , what ${command) do you want to run?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

formulahendry commented 7 years ago
Sub-Xaero commented 7 years ago

This is going to make my life so much easier. Thanks so much ⭐On 29 Jun 2017 4:32 am, Jun Han notifications@github.com wrote: Add 'Execute' and 'Execute In Bash' to context menu

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.