How to docker save 4gb container if i have only 1 gb left/How to docker save container directly on the external drive

Sollution can be found here : Can i delete . cache file on my jetson nano to increase available space? - #16 by andres.artavia

Thanks.