/mysql_shell_image

a project to build mysql-shell image

Primary LanguageDockerfile

mysql_shell_image

docker login -u
docker build -t mysql-shell .
docker image tag mysql-shell /mysql-shell:v2
docker image push /mysql-shell:v2

working:
docker run -it --network mysql-cluster-net --name mshell <docker-user>/mysql-shell:v1


issues:
While trying to set a volume for persistant data:
docker run -it --name mshell -v <home-dir>/msyql-shell-wdir:/lib/mysqlsh <docker-user>/mysql-shell:v1
Error:
/usr/lib/mysqlsh/python-packages: No such file or directory (errno 2)
see notes for possible solution to above error(georemo - 08/12/2022) Ref: https://hub.docker.com/repository/docker//mysql-shell