Skip to content
This repository was archived by the owner on Sep 26, 2021. It is now read-only.
This repository was archived by the owner on Sep 26, 2021. It is now read-only.

[Windows] Robust docker-terminal: Run docker and docker-compose from powershell or cmd #579

@somombo

Description

@somombo

As it currently stands, one has to run docker or docker-compose commands only through the "Docker Quickstart Terminal" (DQT).. This is problematic and tedious. I have made improvements to the start.sh script that DQT invokes to make the script portable and persistable in the windows environment. So that one can run docker from powershell or command prompt (or indeed git-bash if they so wish).

Rather than looking for a DQT shortcut.. one simply runs the command docker-terminal from any command line interface and any directory context. This is roughly equivalent then, to clicking on DQT and then doing a cd to the precise directory where I'd want to be (except if you are typing docker-terminal at the cli, you are probably already in the directory you want to be in). This has really help my workflow.

I have made this contribution to the docker-toolbox project and would like to get some feedback about my pull request #578 to make sure I am following contribution guidelines. In addition, if anyone is willing to test the code, it is available here https://github.com/somombo/toolbox.

Let me know if I can clarify how to use this better.
I look forward to hearing from you all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions