Accessing Docker containers
yarn run exec <container name> # for Yarn
npm run exec <container name> # for NPMCommon Usage
yarn run exec mysql
>root@c8f223c3ea92:/# # inside a mysql container
# ctrl + d or type 'exit' and press enter
# this is not alias, but rather service name matching
yarn run exec m
>root@c8f223c3ea92:/# # inside a mysql container
Last updated