For 2 years I m using docker desktop for windows. I only run 1 container and have no other docker experience or knowledge.
Now the windows machine installed updates and rebooted . After the reboot Docker desktop version 3.6 was not starting anymore. I removed it and installed the latest version 4.0.1 that is starting.
I always started my container with
When I try to do this now I get the error :
no such service: _invoiceplane_1
This is my docker-compose.yml file :
version: '2' services: mysql: restart: always image: sameersbn/mysql:5.7.24 environment: - DB_USER=invoiceplane - DB_PASS=password - DB_NAME=invoiceplane_db volumes: - D:\INVOICEPLANE\mysql:/var/lib/mysql invoiceplane: restart: always image: sameersbn/invoiceplane:1.5.9-2 command: app:invoiceplane environment: - DEBUG=false - TZ=Asia/Kolkata - DB_TYPE=mysqli - DB_HOST=mysql - DB_USER=invoiceplane - DB_PASS=password - DB_NAME=invoiceplane_db - INVOICEPLANE_URL=http://10.0.0.113:10080 - INVOICEPLANE_PROXY_IPS= - INVOICEPLANE_BACKUPS_EXPIRY=0 depends_on: - mysql volumes: - D:\INVOICEPLANE\invoiceplane:/var/lib/invoiceplane nginx: restart: always image: sameersbn/invoiceplane:1.5.9-2 command: app:nginx environment: - INVOICEPLANE_PHP_FPM_HOST=invoiceplane - INVOICEPLANE_PHP_FPM_PORT=9000 depends_on: - invoiceplane ports: - "10080:80" volumes_from: - invoiceplane
I used this docker file and instructions to do the initial setup :
Can somebody help me to get my container running again without losing my data.?