Skip to content

Commit e5e04e4

Browse files
committed
update the readme: exec command to run
1 parent 44d8720 commit e5e04e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ You can select your own combination of container form this list:
221221
3 - Enter the Workspace container, to execute commands like (Artisan, Composer, PHPUnit, Gulp, ...).
222222

223223
```bash
224-
docker exec -it {Workspace-Container-Name} bash
224+
docker-compose run workspace bash
225225
```
226226
Replace `{Workspace-Container-Name}` with your Workspace container name.
227227
<br>
@@ -323,7 +323,7 @@ docker-compose down
323323
2 - enter any container using:
324324

325325
```bash
326-
docker exec -it {container-name} bash
326+
docker-compose run {container-name} bash
327327
```
328328
3 - to exit a container, type `exit`.
329329

@@ -614,7 +614,7 @@ More details about this [here](https://github.com/jenssegers/laravel-mongodb#ins
614614
5 - Test it:
615615

616616
- First let your Models extend from the Mongo Eloquent Model. Check the [documentation](https://github.com/jenssegers/laravel-mongodb#eloquent).
617-
- Enter the Workspace Continer `docker exec -it laradock_workspace_1 bash`.
617+
- Enter the Workspace Continer `docker-compose run workspace bash`.
618618
- Migrate the Database `php artisan migrate`.
619619

620620

0 commit comments

Comments
 (0)