Skip to content

Commit 51703f0

Browse files
authored
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`.
1 parent f1716a2 commit 51703f0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,12 @@ You can select your own combination of Containers form the list below:
269269
docker-compose exec workspace bash
270270
```
271271
<br />
272+
<br>
273+
2a - Alternatively, Windows Powershell users can execute the following command to enter a running container.
274+
```bash
275+
docker exec -it {container-id} bash
276+
```
277+
<br />
272278
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`).
273279

274280

0 commit comments

Comments
 (0)