stop mysql within docker without stopping docker container

  docker, mysql

I’m running mysql within a docker container and would like to stop mysql so I can run myisamchk to repair a table. But when I stop mysql the docker container stops also. Can I keep the container running whist mysql is stopped?

Source: StackOverflow

LEAVE A COMMENT