how do i push to a container AND reset any persisted storage volumes

balena push does not reset any persisted storage defined in docker volume commands

how can i push AND reset my container AND any associated persisted storage ?

heres a repo with a docker-compose.yml that illustrates the problem

Hi, you are likely looking for the purge data command. See this for more details That will enable you to purge all persistent data via the dashboard. If you were looking for a programatic way, the same can be achieved using the following method of the supervisor API

1 Like