Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix attachment flow when running
dock
with active project container
This changes fixes a bug in the container attachment logic, resulting from a missed env var expansion, which prevents users from reattaching to Dock containers when executing `dock` in a project repo with the associated Dock container already up and running. The bug was introduced in change: 01e5fd9#diff-79d7079a017e90205ccbbe385c9ce6a8R805 Also, while at it, updated the attachment logic to allow users to specify additional command line args to be executed immediately following Dock container attachment. e.g.: ----- - running `dock bash` and choosing to attach to a container results in the creation of and entry to a bash shell rather than the default 'sh' shell - running `dock ls` and choosing to attach to a container results in the listing of the current working directory upon entry followed by exiting of the container
- Loading branch information