Using an application which consists of a server running on a tomcat container and is using volumes.
With Docker Desktop: used docker-compose up to setup the app and then start and stop buttons in Docker Desktop to start/stop the application -> never lead to issues with data loss
With Rancher Desktop and dockerd: persistency problems, data loss after container/app restart
Steps to Reproduce
Use Rancher Desktop with containerd and docker-compose setting up a tomcat and application server on tomcat.
Result
Data loss: any changes made in the program (adding files, removing files, ...) are not existing after stop/start of the app, no matter if I'm using docker-compose start/up or docker compose start/up.
Expected Behavior
Expecting changes to appear after restart of app/containers.
Additional Information
Probably a problem with volumes, maybe even with k8s (I'm not very familiar with k8s).
Worked fine with Docker Desktop, so I assume it's not a problem with docker cli or the docker-compose file
No volumes are missing
Am I using wrong commands to start/stop the app?
Rancher Desktop Version
1.2.1
Rancher Desktop K8s Version
1.22.7 (stable)
Which container runtime are you using?
dockerd (moby)
What operating system are you using?
Windows
Operating System / Build Version
Windows 10 Enterprise 21H2
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
Using company VPN needed for images to be downloaded when composing
Actual Behavior
Hello everyone,
Steps to Reproduce
Use Rancher Desktop with containerd and docker-compose setting up a tomcat and application server on tomcat.
Result
Data loss: any changes made in the program (adding files, removing files, ...) are not existing after stop/start of the app, no matter if I'm using docker-compose start/up or docker compose start/up.
Expected Behavior
Expecting changes to appear after restart of app/containers.
Additional Information
Rancher Desktop Version
1.2.1
Rancher Desktop K8s Version
1.22.7 (stable)
Which container runtime are you using?
dockerd (moby)
What operating system are you using?
Windows
Operating System / Build Version
Windows 10 Enterprise 21H2
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
Using company VPN needed for images to be downloaded when composing