Closed ayaka209 closed 5 years ago
maybe duplicate: https://github.com/laradock/laradock/issues/1423 Solution (thanks to https://github.com/laradock/laradock/issues/644):
open up your workspace/Dockerfile and add these lines to it
USER root
RUN apt update && \ apt install -y mysql-client
down your containers
docker-compose down
then rebuild workspace just by
docker-compose build workspace
and re-up you containers for example
docker-compose up redis nginx mysql
I have forked my own copy and made changes but I think it's a very common scenario
Thank you @UnderDogg
@ayaka209 I agree with you. This should be included in
now can customized install on laradock/laradock .env WORKSPACE_INSTALL_MYSQL_CLIENT.
now we don't have mysql command...