Search code examples
dockerdocker-desktop

How I can use the containers created by docker desktop in a docker ce installed on WSL2


The grace period of docker desktop is up. I have some containers installed and I would like to use them in a new docker ce installation in WSL2. The new installation works correctly but I am not able to find the correct location of the containers and volumes present in docker desktop.

Is it possible to reuse the existing containers? Thank you!


Solution

  • Your windows C:/ unit maps to /mnt/c/ inside WSL2.

    https://learn.microsoft.com/es-es/windows/wsl/faq

    If your volumes are here: C:/Users/<your-user>/volume , then you can find them here /mnt/c/users/<your-user>/volume