After install mysql by
docker run -d `
--network todo-app --network-alias mysql `
-v todo-mysql-data:/var/lib/mysql `
-e MYSQL_ROOT_PASSWORD=abcdef `
-e MYSQL_DATABASE=app `
mysql:8.0
Step 1:
I am trying to run mysql by
docker exec -it f50ed31561a4 mysql -p
Step 2:
Docker- Dahsboard- Mysql- RUN
A little green light display RUNNING text and with in 1 seconds it disappear
Full error
docker exec -it f50ed31561a4 mysql -p
Error response from daemon: Container f50ed31561a4567cd6104267d5ac774fc358ef1544f3427fcc1d9e77d082526b is not running
I uninstall/re-install mysql & docker desktop but the problem is the same
It can't run at all
Docker desktop 3.4.0 solve the problem
Note: must remove previous all instance of docker