Difference between #55 and #56 of
Yii v2 snippet guide III

Revision #56 has been created by rackycz on Mar 8, 2021, 11:12:24 PM with the memo:

Docker
« previous (#55) next (#57) »

Changes

Title unchanged

Yii v2 snippet guide III

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,yii2,beginer

Content changed

[...]
Navigate in command line to the folder of your docker-project and run command:
- docker ps
- This will list all services you defined in docker-compose.yml

The last column of the list is NAMES. Pick one and copy its name. The
n run command:

- docker exec -it {NAME} /bin/bash
- ... where {NAME} is your service name. For example:
- docker exec -it yii-advanced_backend_1 /bin/bash
[...]
8 0
4 followers
Viewed: 165 010 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Jan 21, 2021
Last updated: 9 months ago
Update Article

Revisions

View all history