It's actually very hard to keep fishes alive in smaller containers (<10gal). The small amount of water gets polluted way too fast and becomes toxic for fish. Too many frequent water changes are also harmful for the fishes. Lack of space and hiding places adds more stress to the fishes.