Skip to content

Commit b2aa388

Browse files
authored
Merge pull request laradock#315 from mjcriswell/my-fix-branch
Windows Powershell command to enter container
2 parents f1716a2 + 51703f0 commit b2aa388

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)