From 51703f00fc5940ee77b5446457c21c93b6664fb5 Mon Sep 17 00:00:00 2001 From: Michael Criswell Date: Fri, 16 Sep 2016 13:51:19 -0700 Subject: [PATCH] Windows Powershell command to enter container Allows a Windows Powershell user to enter a running container to avoid the following error message. Interactive mode is not yet supported on Windows. Please pass the -d flag when using `docker-compose exec`. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8c9a9a8c..d44885de 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,12 @@ You can select your own combination of Containers form the list below: docker-compose exec workspace bash ```
+
+2a - Alternatively, Windows Powershell users can execute the following command to enter a running container. +```bash +docker exec -it {container-id} bash +``` +
Add `--user=laradock` (example `docker-compose exec --user=laradock workspace bash`) to have files created as your host's user. (you can change the PUID (User id) and PGID (group id) variables from the `docker-compose.yml`).