First, ensure that all running Docksal services are stopped:
fin stopNext, remove the project’s containers and associated volumes:
fin project remove --volumesThis command will:
- Stop the project containers
- Remove the project containers
- Delete the project’s volumes, ensuring any data stored in them is also removed
If you also want to remove any global Docksal services (like DNS, SSH agent, etc.):
fin system resetAfter removing the old environment, you can recreate it by running:
fin project startThis will rebuild the containers and volumes from scratch using your project’s .docksal configuration.
If you suspect there might still be residual data or configurations causing issues, you can clear the Docker system entirely (including all volumes, networks, images, and containers across all projects). This is a destructive operation and should be used with caution:
docker system prune --volumes -aAfter completing these steps, your Docksal environment will be entirely reset, and you can start with a clean slate.