We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install the plugin
docker run -d -v /run/docker/plugins/:/run/docker/plugins/ -v U:/docker/plugin/local-persist/path/to/store/json/for/restart/:/var/lib/docker/plugin-data/ -v U:/docker/common/data:/data cwspear/docker-local-persist-volume-plugin
docker-compose -f .\docker-compose\mysql.yml up -d
here is the mysql.yml.
# mysql.yml version: "3" services: common-data: image: ubuntu:latest container_name: common-data restart: always privileged: true entrypoint: /bin/bash stdin_open: true tty: true volumes: # - "U:/docker/common/data:/data" # - "U:/docker/common/mysql:/var/lib/mysql" - "common-data:/data" # - "common-data:/var/lib/mysql" mysql: image: mysql:5.7.26 ports: - "3306:3306" container_name: mysql restart: always privileged: true command: --character-set-server=utf8 --lower_case_table_names=1 volumes: - "common-data:/data" # - "common-data:/var/lib/mysql" environment: - MYSQL_ROOT_PASSWORD=123456 volumes: common-data: # external: true driver: local-persist driver_opts: mountpoint: U:/docker/common/data
then i got this Error
actually, that folder is exist
docker info
docker-compose version
docker-compose version 1.29.2, build 5becea4c
system is windows 10
help
The text was updated successfully, but these errors were encountered:
I am receiving the same error on Ubuntu 18.x
I created the volume without issues: docker volume create -d local-persist -o mountpoint=/data/mssql --name=sqlvol01
I then attempted to use it.
Sorry, something went wrong.
same issue on Ubuntu 24.04
No branches or pull requests
install the plugin
here is the mysql.yml.
then i got this Error
actually, that folder is exist
docker info
docker-compose version
system is windows 10
help
The text was updated successfully, but these errors were encountered: